aboutsummaryrefslogtreecommitdiff
path: root/build-logic/src/main/kotlin/app
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-07-01 03:50:24 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-07-01 03:50:24 +0530
commitcc5ea6a4568346061452cff2bbf26242ed315f72 (patch)
treeca171cd90862800c252b1b673fc2861d43cbbd63 /build-logic/src/main/kotlin/app
parent03aaeab73772a8659df971ff60c10a99b97d52b6 (diff)
fix(build): remove useless Java configuration for Gradle Toolchains
Diffstat (limited to 'build-logic/src/main/kotlin/app')
-rw-r--r--build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinAndroidPlugin.kt2
1 files changed, 0 insertions, 2 deletions
diff --git a/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinAndroidPlugin.kt b/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinAndroidPlugin.kt
index 553e8acd..46a5eb30 100644
--- a/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinAndroidPlugin.kt
+++ b/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinAndroidPlugin.kt
@@ -8,7 +8,6 @@ package app.passwordstore.gradle
import app.passwordstore.gradle.KotlinCommonPlugin.Companion.JVM_TOOLCHAIN_ACTION
import org.gradle.api.Plugin
import org.gradle.api.Project
-import org.gradle.api.plugins.JavaPluginExtension
import org.gradle.kotlin.dsl.apply
import org.gradle.kotlin.dsl.getByType
import org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension
@@ -22,7 +21,6 @@ class KotlinAndroidPlugin : Plugin<Project> {
apply(KotlinAndroidPluginWrapper::class)
apply(KotlinCommonPlugin::class)
}
- project.extensions.getByType<JavaPluginExtension>().toolchain(JVM_TOOLCHAIN_ACTION)
project.extensions.getByType<KotlinProjectExtension>().jvmToolchain(JVM_TOOLCHAIN_ACTION)
}
}