From cc5ea6a4568346061452cff2bbf26242ed315f72 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 1 Jul 2023 03:50:24 +0530 Subject: fix(build): remove useless Java configuration for Gradle Toolchains --- .../src/main/kotlin/app/passwordstore/gradle/KotlinAndroidPlugin.kt | 2 -- 1 file changed, 2 deletions(-) (limited to 'build-logic/src') 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 { apply(KotlinAndroidPluginWrapper::class) apply(KotlinCommonPlugin::class) } - project.extensions.getByType().toolchain(JVM_TOOLCHAIN_ACTION) project.extensions.getByType().jvmToolchain(JVM_TOOLCHAIN_ACTION) } } -- cgit v1.2.3