diff --git a/logging-android/build.gradle.kts b/logging-android/build.gradle.kts index 2a1e6055..d869d435 100644 --- a/logging-android/build.gradle.kts +++ b/logging-android/build.gradle.kts @@ -16,7 +16,7 @@ kotlin { sourceSets { val commonMain by getting { dependencies { - api(project(":logging")) + api(projects.logging) } } } diff --git a/logging-ktor-client/build.gradle.kts b/logging-ktor-client/build.gradle.kts index aeeeccd1..c7d636ab 100644 --- a/logging-ktor-client/build.gradle.kts +++ b/logging-ktor-client/build.gradle.kts @@ -24,7 +24,7 @@ kotlin { sourceSets { val commonMain by getting { dependencies { - api(project(":logging")) + api(projects.logging) api(libs.ktor.core) api(libs.ktor.logging) } @@ -32,8 +32,8 @@ kotlin { val commonTest by getting { dependencies { - implementation(project(":logging-test")) - implementation(project(":test")) + implementation(projects.loggingTest) + implementation(projects.test) implementation(kotlin("test-common")) implementation(kotlin("test-annotations-common")) implementation(libs.ktor.mock) diff --git a/logging-test/build.gradle.kts b/logging-test/build.gradle.kts index 43206a1c..4a821b65 100644 --- a/logging-test/build.gradle.kts +++ b/logging-test/build.gradle.kts @@ -19,7 +19,7 @@ kotlin { sourceSets { val commonMain by getting { dependencies { - api(project(":logging")) + api(projects.logging) } } } diff --git a/logging/build.gradle.kts b/logging/build.gradle.kts index ec2c07c6..b8d75225 100644 --- a/logging/build.gradle.kts +++ b/logging/build.gradle.kts @@ -26,7 +26,7 @@ kotlin { val commonTest by getting { dependencies { - implementation(project(":logging-test")) + implementation(projects.loggingTest) implementation(kotlin("test-common")) implementation(kotlin("test-annotations-common")) } diff --git a/settings.gradle.kts b/settings.gradle.kts index 2ebe0eff..5243ab5d 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,4 +1,4 @@ -enableFeaturePreview("VERSION_CATALOGS") +enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") pluginManagement { repositories { diff --git a/temporal/build.gradle.kts b/temporal/build.gradle.kts index 21b984ef..0c61af2e 100644 --- a/temporal/build.gradle.kts +++ b/temporal/build.gradle.kts @@ -40,7 +40,7 @@ kotlin { val commonTest by getting { dependencies { - implementation(project(":test")) + implementation(projects.test) implementation(kotlin("test-common")) implementation(kotlin("test-annotations-common")) implementation(libs.kotlinx.coroutines.test) @@ -49,7 +49,7 @@ kotlin { val androidMain by getting { dependencies { - implementation(project(":coroutines")) + implementation(projects.coroutines) } }