diff --git a/android/build.gradle.kts b/android/build.gradle.kts index bebac21c..463377b6 100644 --- a/android/build.gradle.kts +++ b/android/build.gradle.kts @@ -75,8 +75,8 @@ kotlin { } dependencies { - implementation(project(":shared")) - implementation(project(":shared-ui")) + implementation(projects.shared) + implementation(projects.sharedUi) implementation(libs.androidx.core.splashscreen) implementation(libs.koin.core) diff --git a/ios/build.gradle.kts b/ios/build.gradle.kts index 6686af72..abf76243 100644 --- a/ios/build.gradle.kts +++ b/ios/build.gradle.kts @@ -31,8 +31,8 @@ kotlin { implementation(compose.material) implementation(compose.runtime) - api(project(":shared")) - api(project(":shared-ui")) + api(projects.shared) + api(projects.sharedUi) api(libs.kermit) api(libs.kermit.simple) api(libs.hyperdrive.multiplatformx.api) @@ -61,8 +61,8 @@ kotlin { export(libs.kermit) export(libs.kermit.simple) export(libs.hyperdrive.multiplatformx.api) - export(project(":shared")) - export(project(":shared-ui")) + export(projects.shared) + export(projects.sharedUi) } } } diff --git a/settings.gradle.kts b/settings.gradle.kts index a94d8087..55116d7d 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -24,3 +24,5 @@ plugins { include(":shared", ":shared-ui", ":android", ":ios") rootProject.name = "Droidcon" + +enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") diff --git a/shared-ui/build.gradle.kts b/shared-ui/build.gradle.kts index a5ed24e0..9828407a 100644 --- a/shared-ui/build.gradle.kts +++ b/shared-ui/build.gradle.kts @@ -71,7 +71,7 @@ kotlin { sourceSets { commonMain.dependencies { - implementation(project(":shared")) + implementation(projects.shared) api(libs.kermit) api(libs.kermit.crashlytics)