diff --git a/app/build.gradle.kts b/app/build.gradle.kts index ab9b27397f..a7d44ac510 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -19,6 +19,7 @@ import com.android.build.api.variant.FilterConfiguration.FilterType.ABI import extension.allFeaturesImpl import extension.allLibrariesImpl +import extension.allServicesImpl // TODO: Remove once https://youtrack.jetbrains.com/issue/KTIJ-19369 is fixed @Suppress("DSL_SCOPE_VIOLATION") @@ -201,15 +202,13 @@ knit { dependencies { allLibrariesImpl() + allServicesImpl() allFeaturesImpl() implementation(projects.tests.uitests) implementation(projects.anvilannotations) implementation(projects.appnav) anvil(projects.anvilcodegen) - // TODO Create allServiceImpl() - implementation(projects.services.appnavstate.impl) - // https://developer.android.com/studio/write/java8-support#library-desugaring-versions coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.2") implementation(libs.appyx.core) diff --git a/plugins/src/main/kotlin/extension/DependencyHandleScope.kt b/plugins/src/main/kotlin/extension/DependencyHandleScope.kt index 9800914a26..426be4fcdb 100644 --- a/plugins/src/main/kotlin/extension/DependencyHandleScope.kt +++ b/plugins/src/main/kotlin/extension/DependencyHandleScope.kt @@ -63,6 +63,10 @@ fun DependencyHandlerScope.allLibrariesImpl() { } +fun DependencyHandlerScope.allServicesImpl() { + implementation(project(":services:appnavstate:impl")) +} + fun DependencyHandlerScope.allFeaturesApi() { implementation(project(":features:onboarding:api")) implementation(project(":features:login:api"))