Update Gradle impl module template with setupAnvil() call (#3563)
This commit is contained in:
parent
2efdb3ae45
commit
ac79fed2af
1 changed files with 3 additions and 6 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
|
import extensions.setupAnvil
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("io.element.android-compose-library")
|
id("io.element.android-compose-library")
|
||||||
alias(libs.plugins.anvil)
|
|
||||||
id("kotlin-parcelize")
|
id("kotlin-parcelize")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -8,13 +9,9 @@ android {
|
||||||
namespace = "io.element.android.features.${MODULE_NAME}.impl"
|
namespace = "io.element.android.features.${MODULE_NAME}.impl"
|
||||||
}
|
}
|
||||||
|
|
||||||
anvil {
|
setupAnvil()
|
||||||
generateDaggerFactories.set(true)
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(projects.anvilannotations)
|
|
||||||
anvil(projects.anvilcodegen)
|
|
||||||
api(projects.features.${ MODULE_NAME }.api)
|
api(projects.features.${ MODULE_NAME }.api)
|
||||||
implementation(projects.libraries.core)
|
implementation(projects.libraries.core)
|
||||||
implementation(projects.libraries.architecture)
|
implementation(projects.libraries.architecture)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue