Dagger: start setup
This commit is contained in:
parent
32dbaaf836
commit
cb92ff5d3b
22 changed files with 290 additions and 4 deletions
1
anvilcodegen/.gitignore
vendored
Normal file
1
anvilcodegen/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/build
|
||||
24
anvilcodegen/build.gradle.kts
Normal file
24
anvilcodegen/build.gradle.kts
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
plugins {
|
||||
alias(libs.plugins.kotlin.jvm)
|
||||
alias(libs.plugins.kapt)
|
||||
}
|
||||
|
||||
/*
|
||||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs += listOf(
|
||||
"-opt-in=com.squareup.anvil.annotations.ExperimentalAnvilApi")
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
dependencies {
|
||||
implementation(project(":anvilannotations"))
|
||||
api(libs.anvil.compiler.api)
|
||||
implementation(libs.anvil.compiler.utils)
|
||||
implementation("com.squareup:kotlinpoet:1.10.2")
|
||||
implementation(libs.dagger)
|
||||
compileOnly("com.google.auto.service:auto-service-annotations:1.0.1")
|
||||
kapt("com.google.auto.service:auto-service:1.0.1")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue