mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Update Gradle impl module template with setupAnvil() call (#3563)
This commit is contained in:
committed by
GitHub
parent
eeec7cc785
commit
48a4a9d69b
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user