diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 0633de73..bb12430a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -100,7 +100,7 @@ dependencies { implementation(libs.play.services.ads) - implementation(project(":compose-cardstack")) + implementation(projects.composeCardstack) implementation(libs.lottie.compose) // Compose diff --git a/settings.gradle.kts b/settings.gradle.kts index 43d0f96f..7f7f2285 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -21,6 +21,16 @@ dependencyResolutionManagement { } rootProject.name = "QuickMem" + +enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") include(":app") include(":compose-cardstack") + +check(JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) { + """ + Quickmem requires JDK 17+ but it is currently using JDK ${JavaVersion.current()}. + Java Home: [${System.getProperty("java.home")}] + https://developer.android.com/build/jdks#jdk-config-in-studio + """.trimIndent() +} \ No newline at end of file