From 5e711ad8ae4b46478c517675f775b775bf78025a Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 1 Nov 2023 00:53:57 +0530 Subject: fix(build): lower JVM compilation target to 17 Lint does not understand Java 20 classes yet --- .../src/main/kotlin/app/passwordstore/gradle/KotlinCommonPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build-logic/src') diff --git a/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinCommonPlugin.kt b/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinCommonPlugin.kt index 14b8e716..68195033 100644 --- a/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinCommonPlugin.kt +++ b/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinCommonPlugin.kt @@ -47,6 +47,6 @@ class KotlinCommonPlugin : Plugin { ) val JVM_TOOLCHAIN_ACTION = - Action { languageVersion.set(JavaLanguageVersion.of(20)) } + Action { languageVersion.set(JavaLanguageVersion.of(17)) } } } -- cgit v1.2.3