aboutsummaryrefslogtreecommitdiff
path: root/build-logic/src/main
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-04-23 14:54:05 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-04-23 14:54:05 +0530
commit57670ea04708e345f253a02baad3c7f8d5c3801f (patch)
treec2e7f201929bb2cb07a74d3e6f595e4161f7f435 /build-logic/src/main
parent57be46b5904a7dcc79880b03abac20904ba75625 (diff)
fix(build): do not apply Android plugin in kapt plugin
Diffstat (limited to 'build-logic/src/main')
-rw-r--r--build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinKaptPlugin.kt6
1 files changed, 1 insertions, 5 deletions
diff --git a/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinKaptPlugin.kt b/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinKaptPlugin.kt
index 893b89d3..33e68bbc 100644
--- a/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinKaptPlugin.kt
+++ b/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinKaptPlugin.kt
@@ -11,16 +11,12 @@ import org.gradle.kotlin.dsl.apply
import org.gradle.kotlin.dsl.configure
import org.jetbrains.kotlin.gradle.internal.Kapt3GradleSubplugin
import org.jetbrains.kotlin.gradle.plugin.KaptExtension
-import org.jetbrains.kotlin.gradle.plugin.KotlinAndroidPluginWrapper
@Suppress("Unused")
class KotlinKaptPlugin : Plugin<Project> {
override fun apply(project: Project) {
- project.pluginManager.run {
- apply(KotlinAndroidPluginWrapper::class)
- apply(Kapt3GradleSubplugin::class)
- }
+ project.pluginManager.apply(Kapt3GradleSubplugin::class)
project.afterEvaluate {
project.extensions.configure<KaptExtension> {
javacOptions {