diff --git a/.DS_Store b/.DS_Store index f2d471a..506fffd 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 346791d..b1cca4a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -67,12 +67,12 @@ android { } dependencies { - implementation(project(":feature:allbreeds")) - implementation(project(":feature:breedDetails")) - implementation(project(":feature:favorites")) - implementation(project(":feature:subbreeds")) + implementation(projects.feature.allbreeds) + implementation(projects.feature.breedDetails) + implementation(projects.feature.favorites) + implementation(projects.feature.subbreeds) - implementation(project(":core:designsystem")) + implementation(projects.core.designsystem) implementation(libs.compose.icons.extended) @@ -91,9 +91,9 @@ dependencies { androidTestImplementation(libs.hilt.android.testing) androidTestImplementation(libs.compose.ui.test) androidTestImplementation(libs.android.junit) - androidTestImplementation(project(":core:database")) - androidTestImplementation(project(":core:network")) - androidTestImplementation(project(":core:testing")) + androidTestImplementation(projects.core.database) + androidTestImplementation(projects.core.network) + androidTestImplementation(projects.core.testing) androidTestImplementation(libs.androidx.test.core) androidTestImplementation(libs.androidx.test.rules) diff --git a/build/reports/problems/problems-report.html b/build/reports/problems/problems-report.html index 151b567..ff14bfe 100644 --- a/build/reports/problems/problems-report.html +++ b/build/reports/problems/problems-report.html @@ -650,7 +650,7 @@ diff --git a/core/common/build.gradle.kts b/core/common/build.gradle.kts index ab770de..b201744 100644 --- a/core/common/build.gradle.kts +++ b/core/common/build.gradle.kts @@ -38,6 +38,6 @@ dependencies { implementation(libs.hilt.core) ksp(libs.hilt.compiler) - testImplementation(project(":core:testing")) + testImplementation(projects.core.testing) testImplementation(kotlin("test")) } \ No newline at end of file diff --git a/core/database/build.gradle.kts b/core/database/build.gradle.kts index 832cf08..cbf8b86 100644 --- a/core/database/build.gradle.kts +++ b/core/database/build.gradle.kts @@ -44,10 +44,10 @@ dependencies { implementation(libs.hilt.core) ksp(libs.hilt.compiler) - implementation(project(":core:model")) + implementation(projects.core.model) implementation(libs.hilt.android.testing) - androidTestImplementation(project(":core:testing")) + androidTestImplementation(projects.core.testing) androidTestImplementation(kotlin("test")) androidTestImplementation(libs.room.testing) diff --git a/core/testing/build.gradle.kts b/core/testing/build.gradle.kts index 4d6c2cc..fc3e2f9 100644 --- a/core/testing/build.gradle.kts +++ b/core/testing/build.gradle.kts @@ -38,10 +38,10 @@ dependencies { api(libs.mockk) api(libs.coroutine.test) - api(project(":core:model")) - api(project(":data:allbreeds")) - api(project(":data:breedDetails")) - api(project(":data:subbreeds")) + api(projects.core.model) + api(projects.data.allbreeds) + api(projects.data.breedDetails) + api(projects.data.subbreeds) implementation(libs.hilt.android.testing) implementation(libs.androidx.test.runner) diff --git a/data/allbreeds/build.gradle.kts b/data/allbreeds/build.gradle.kts index b6165fc..1114d29 100644 --- a/data/allbreeds/build.gradle.kts +++ b/data/allbreeds/build.gradle.kts @@ -38,11 +38,11 @@ dependencies { implementation(libs.hilt.core) ksp(libs.hilt.compiler) - implementation(project(":core:network")) - implementation(project(":core:database")) - implementation(project(":core:model")) - implementation(project(":core:common")) + implementation(projects.core.network) + implementation(projects.core.database) + implementation(projects.core.model) + implementation(projects.core.common) - testImplementation(project(":core:testing")) + testImplementation(projects.core.testing) testImplementation(kotlin("test")) } \ No newline at end of file diff --git a/data/breedDetails/build.gradle.kts b/data/breedDetails/build.gradle.kts index fdf35da..ab1ae8d 100644 --- a/data/breedDetails/build.gradle.kts +++ b/data/breedDetails/build.gradle.kts @@ -38,10 +38,10 @@ dependencies { implementation(libs.hilt.core) ksp(libs.hilt.compiler) - implementation(project(":core:database")) - implementation(project(":core:common")) - implementation(project(":core:model")) + implementation(projects.core.database) + implementation(projects.core.common) + implementation(projects.core.model) - testImplementation(project(":core:testing")) + testImplementation(projects.core.testing) testImplementation(kotlin("test")) } \ No newline at end of file diff --git a/data/subbreeds/build.gradle.kts b/data/subbreeds/build.gradle.kts index 5ce0751..d4f1ee9 100644 --- a/data/subbreeds/build.gradle.kts +++ b/data/subbreeds/build.gradle.kts @@ -38,10 +38,10 @@ dependencies { implementation(libs.hilt.core) ksp(libs.hilt.compiler) - implementation(project(":core:network")) - implementation(project(":core:common")) - implementation(project(":core:model")) + implementation(projects.core.network) + implementation(projects.core.common) + implementation(projects.core.model) - testImplementation(project(":core:testing")) + testImplementation(projects.core.testing) testImplementation(kotlin("test")) } \ No newline at end of file diff --git a/domain/allbreeds/build.gradle.kts b/domain/allbreeds/build.gradle.kts index e224aea..3ef7c68 100644 --- a/domain/allbreeds/build.gradle.kts +++ b/domain/allbreeds/build.gradle.kts @@ -38,10 +38,10 @@ dependencies { implementation(libs.hilt.core) ksp(libs.hilt.compiler) - implementation(project(":data:allbreeds")) - implementation(project(":core:common")) - implementation(project(":core:model")) + implementation(projects.data.allbreeds) + implementation(projects.core.common) + implementation(projects.core.model) - testImplementation(project(":core:testing")) + testImplementation(projects.core.testing) testImplementation(kotlin("test")) } \ No newline at end of file diff --git a/domain/breedDetails/build.gradle.kts b/domain/breedDetails/build.gradle.kts index 6daf2ee..535a5e6 100644 --- a/domain/breedDetails/build.gradle.kts +++ b/domain/breedDetails/build.gradle.kts @@ -38,10 +38,10 @@ dependencies { implementation(libs.hilt.core) ksp(libs.hilt.compiler) - implementation(project(":data:breedDetails")) - implementation(project(":core:common")) - implementation(project(":core:model")) + implementation(projects.data.breedDetails) + implementation(projects.core.common) + implementation(projects.core.model) - testImplementation(project(":core:testing")) + testImplementation(projects.core.testing) testImplementation(kotlin("test")) } \ No newline at end of file diff --git a/domain/favorites/build.gradle.kts b/domain/favorites/build.gradle.kts index 1c38155..d85a672 100644 --- a/domain/favorites/build.gradle.kts +++ b/domain/favorites/build.gradle.kts @@ -38,10 +38,10 @@ dependencies { implementation(libs.hilt.core) ksp(libs.hilt.compiler) - implementation(project(":data:breedDetails")) - implementation(project(":core:common")) - implementation(project(":core:model")) + implementation(projects.data.breedDetails) + implementation(projects.core.common) + implementation(projects.core.model) - testImplementation(project(":core:testing")) + testImplementation(projects.core.testing) testImplementation(kotlin("test")) } \ No newline at end of file diff --git a/domain/subbreeds/build.gradle.kts b/domain/subbreeds/build.gradle.kts index 181883b..938dd12 100644 --- a/domain/subbreeds/build.gradle.kts +++ b/domain/subbreeds/build.gradle.kts @@ -38,10 +38,10 @@ dependencies { implementation(libs.hilt.core) ksp(libs.hilt.compiler) - implementation(project(":data:subbreeds")) - implementation(project(":core:common")) - implementation(project(":core:model")) + implementation(projects.data.subbreeds) + implementation(projects.core.common) + implementation(projects.core.model) - testImplementation(project(":core:testing")) + testImplementation(projects.core.testing) testImplementation(kotlin("test")) } \ No newline at end of file diff --git a/feature/allbreeds/build.gradle.kts b/feature/allbreeds/build.gradle.kts index 3405dc3..6bd9298 100644 --- a/feature/allbreeds/build.gradle.kts +++ b/feature/allbreeds/build.gradle.kts @@ -48,15 +48,15 @@ dependencies { implementation(libs.hilt.core) ksp(libs.hilt.compiler) - implementation(project(":domain:allbreeds")) - implementation(project(":core:designsystem")) - implementation(project(":core:model")) - implementation(project(":core:common")) + implementation(projects.domain.allbreeds) + implementation(projects.core.designsystem) + implementation(projects.core.model) + implementation(projects.core.common) - testImplementation(project(":core:testing")) + testImplementation(projects.core.testing) testImplementation(kotlin("test")) - androidTestImplementation(project(":core:testing")) + androidTestImplementation(projects.core.testing) androidTestImplementation(kotlin("test")) androidTestImplementation(libs.compose.ui.test) diff --git a/feature/breedDetails/build.gradle.kts b/feature/breedDetails/build.gradle.kts index 89757b5..140d314 100644 --- a/feature/breedDetails/build.gradle.kts +++ b/feature/breedDetails/build.gradle.kts @@ -47,15 +47,15 @@ dependencies { ksp(libs.hilt.compiler) implementation(libs.kotlin.coroutine) - implementation(project(":domain:breedDetails")) - implementation(project(":core:designsystem")) - implementation(project(":core:model")) - implementation(project(":core:common")) + implementation(projects.domain.breedDetails) + implementation(projects.core.designsystem) + implementation(projects.core.model) + implementation(projects.core.common) - testImplementation(project(":core:testing")) + testImplementation(projects.core.testing) testImplementation(kotlin("test")) - androidTestImplementation(project(":core:testing")) + androidTestImplementation(projects.core.testing) androidTestImplementation(kotlin("test")) androidTestImplementation(libs.compose.ui.test) diff --git a/feature/favorites/build.gradle.kts b/feature/favorites/build.gradle.kts index c913249..1b7b008 100644 --- a/feature/favorites/build.gradle.kts +++ b/feature/favorites/build.gradle.kts @@ -49,15 +49,15 @@ dependencies { implementation(libs.kotlin.coroutine) - implementation(project(":domain:favorites")) - implementation(project(":core:designsystem")) - implementation(project(":core:model")) - implementation(project(":core:common")) + implementation(projects.domain.favorites) + implementation(projects.core.designsystem) + implementation(projects.core.model) + implementation(projects.core.common) - testImplementation(project(":core:testing")) + testImplementation(projects.core.testing) testImplementation(kotlin("test")) - androidTestImplementation(project(":core:testing")) + androidTestImplementation(projects.core.testing) androidTestImplementation(kotlin("test")) androidTestImplementation(libs.compose.ui.test) diff --git a/feature/subbreeds/build.gradle.kts b/feature/subbreeds/build.gradle.kts index 2c859ff..08aa6b5 100644 --- a/feature/subbreeds/build.gradle.kts +++ b/feature/subbreeds/build.gradle.kts @@ -49,15 +49,15 @@ dependencies { implementation(libs.kotlin.coroutine) - implementation(project(":domain:subbreeds")) - implementation(project(":core:designsystem")) - implementation(project(":core:model")) - implementation(project(":core:common")) + implementation(projects.domain.subbreeds) + implementation(projects.core.designsystem) + implementation(projects.core.model) + implementation(projects.core.common) - testImplementation(project(":core:testing")) + testImplementation(projects.core.testing) testImplementation(kotlin("test")) - androidTestImplementation(project(":core:testing")) + androidTestImplementation(projects.core.testing) androidTestImplementation(kotlin("test")) androidTestImplementation(libs.compose.ui.test) diff --git a/settings.gradle.kts b/settings.gradle.kts index f0cfeaf..5c85742 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -14,6 +14,8 @@ dependencyResolutionManagement { } rootProject.name = "DogBreed" +enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") + include(":app") include(":core:network") include(":core:database")