summaryrefslogtreecommitdiff
path: root/build-logic/src/main/kotlin
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-11-01 00:53:57 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-11-01 00:53:57 +0530
commit5e711ad8ae4b46478c517675f775b775bf78025a (patch)
tree242aefcf6a6405b2c6b5f1217921d555c9d3b025 /build-logic/src/main/kotlin
parent82b411ca7c0902942aca8850f9c7c4befe3da067 (diff)
fix(build): lower JVM compilation target to 17
Lint does not understand Java 20 classes yet
Diffstat (limited to 'build-logic/src/main/kotlin')
-rw-r--r--build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinCommonPlugin.kt2
1 files changed, 1 insertions, 1 deletions
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<Project> {
)
val JVM_TOOLCHAIN_ACTION =
- Action<JavaToolchainSpec> { languageVersion.set(JavaLanguageVersion.of(20)) }
+ Action<JavaToolchainSpec> { languageVersion.set(JavaLanguageVersion.of(17)) }
}
}