diff --git a/app/build.gradle.kts b/app/build.gradle.kts index b9bf0383..41506ff8 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -103,6 +103,6 @@ dependencies { debugImplementation(libs.androidx.compose.ui.test.manifest) - implementation(project(":common")) + implementation(projects.common) } diff --git a/backend/build.gradle.kts b/backend/build.gradle.kts index 8ef56726..053ad517 100644 --- a/backend/build.gradle.kts +++ b/backend/build.gradle.kts @@ -24,7 +24,7 @@ kotlin { implementation("ch.qos.logback:logback-classic:1.4.14") - implementation(project(":common")) + implementation(projects.common) } } } diff --git a/compose-desktop/build.gradle.kts b/compose-desktop/build.gradle.kts index 2d35b2ed..7ecc778f 100644 --- a/compose-desktop/build.gradle.kts +++ b/compose-desktop/build.gradle.kts @@ -13,7 +13,7 @@ dependencies { implementation(libs.coil3.compose) implementation(libs.coil3.network.ktor) - implementation(project(":common")) + implementation(projects.common) } application { diff --git a/graphql-server/build.gradle.kts b/graphql-server/build.gradle.kts index 96482e91..464d5d4c 100644 --- a/graphql-server/build.gradle.kts +++ b/graphql-server/build.gradle.kts @@ -23,7 +23,7 @@ kotlin { implementation("ch.qos.logback:logback-classic:1.5.8") - implementation(project(":common")) + implementation(projects.common) } } } diff --git a/settings.gradle.kts b/settings.gradle.kts index ee9ebf56..ae6b3b10 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -17,7 +17,7 @@ pluginManagement { } rootProject.name = "PeopleInSpace" - +enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") include(":app") include(":wearApp") include(":compose-desktop") diff --git a/wearApp/build.gradle.kts b/wearApp/build.gradle.kts index 4c442545..a9febe3c 100644 --- a/wearApp/build.gradle.kts +++ b/wearApp/build.gradle.kts @@ -84,5 +84,5 @@ dependencies { debugImplementation(libs.androidx.compose.ui.test.manifest) debugImplementation(libs.androidx.tracing) - implementation(project(":common")) + implementation(projects.common) } \ No newline at end of file