Rename anvil modules to annotations and codegen

This commit is contained in:
Benoit Marty
2025-09-05 14:12:07 +02:00
parent 606b1d132e
commit 4e720cecb1
134 changed files with 130 additions and 142 deletions

View File

@@ -29,9 +29,9 @@ fun Project.setupDependencyInjection(
applyPluginIfNeeded(libs.plugins.ksp)
// Annotations to generate DI code for Appyx nodes
dependencies.implementation(project.project(":anvilannotations"))
dependencies.implementation(project.project(":annotations"))
// Code generator for the annotations above
dependencies.add("ksp", project.project(":anvilcodegen"))
dependencies.add("ksp", project.project(":codegen"))
}
}

View File

@@ -32,8 +32,8 @@ val localAarProjects = listOf(
val excludedKoverSubProjects = listOf(
":app",
":anvilannotations",
":anvilcodegen",
":annotations",
":codegen",
":tests:testutils",
// Exclude modules which are not Android libraries
// See https://github.com/Kotlin/kotlinx-kover/issues/312
@@ -65,10 +65,6 @@ fun Project.setupKover() {
classes(
// Exclude generated classes.
"*_ModuleKt",
"anvil.hint.binding.io.element.*",
"anvil.hint.merge.*",
"anvil.hint.multibinding.io.element.*",
"anvil.module.*",
"com.airbnb.android.showkase*",
"io.element.android.libraries.designsystem.showkase.*",
"io.element.android.x.di.DaggerAppComponent*",