Skip to content

Commit

Permalink
Remove anvil-codegen module
Browse files Browse the repository at this point in the history
  • Loading branch information
illarionov committed Jan 16, 2024
1 parent 9ebfb6a commit 6133c2f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ anvil {
val versionCatalog: VersionCatalog = versionCatalogs.named("libs")

dependencies {
add("anvil", project(":foundation:di:anvil-codegen"))
listOf(
"pixnews-anvil-activity-generator",
"pixnews-anvil-experiment-generator",
Expand All @@ -38,7 +37,7 @@ dependencies {
// https://github.com/square/anvil/issues/693#issuecomment-1744013947
tasks.withType<KotlinCompile>().configureEach {
if (this !is KspTaskJvm && this !is KaptGenerateStubs) {
val anvilSrcGenDir = layout.buildDirectory.dir(sourceSetName.map { "anvil/src-gen-$it/anvil" })
val anvilSrcGenDir = layout.buildDirectory.dir(sourceSetName.map { "anvil/src-gen-$it" })
this.outputs.dir(anvilSrcGenDir)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ plugins {
}

dependencies {
add("anvil", project(":foundation:di:anvil-codegen"))
listOf(
"pixnews-anvil-activity-generator",
"pixnews-anvil-experiment-generator",
Expand Down Expand Up @@ -47,7 +46,7 @@ kapt {
// https://github.com/square/anvil/issues/693#issuecomment-1744013947
tasks.withType<KotlinCompile>().configureEach {
if (this !is KspTaskJvm && this !is KaptGenerateStubs) {
val anvilSrcGenDir = layout.buildDirectory.dir(sourceSetName.map { "anvil/src-gen-$it/anvil" })
val anvilSrcGenDir = layout.buildDirectory.dir(sourceSetName.map { "anvil/src-gen-$it" })
this.outputs.dir(anvilSrcGenDir)
}
}
1 change: 0 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ listOf(
"analytics",
"appconfig",
"database",
"di:anvil-codegen",
"di:base",
"di:root-component",
"di:ui-base",
Expand Down

0 comments on commit 6133c2f

Please sign in to comment.