Create allServicesImpl()

This commit is contained in:
Benoit Marty 2023-03-16 11:24:05 +01:00 committed by Benoit Marty
parent 63fabed8ce
commit 93cd58feb5
2 changed files with 6 additions and 3 deletions

View file

@ -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)

View file

@ -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"))