Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Disable all generateNaptTrigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Jun 26, 2024
1 parent c428532 commit 3d1aca3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 0 additions & 4 deletions adapter/rv/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ android {
buildFeatures.dataBinding = true
}

napt {
generateNaptTrigger = false
}

kotlin {
explicitApi()
}
Expand Down
7 changes: 7 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import com.android.build.gradle.LibraryPlugin
import com.diffplug.gradle.spotless.SpotlessExtension
import com.google.devtools.ksp.gradle.KspExtension
import com.google.devtools.ksp.gradle.KspGradleSubplugin
import com.slapin.napt.NaptGradleExtension
import com.slapin.napt.NaptGradlePlugin
import io.gitlab.arturbosch.detekt.extensions.DetektExtension
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

Expand Down Expand Up @@ -65,6 +67,11 @@ allprojects {
toolchain.languageVersion = JavaLanguageVersion.of(21)
}
}
plugins.withType<NaptGradlePlugin>().configureEach {
extensions.configure<NaptGradleExtension> {
generateNaptTrigger = false
}
}

tasks.withType<KotlinCompile>().configureEach {
compilerOptions {
Expand Down

0 comments on commit 3d1aca3

Please sign in to comment.