summaryrefslogtreecommitdiff
path: root/build-logic
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-06-15 16:39:24 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-06-15 16:53:21 +0530
commite875047899af00f47eec32d5415ae5f1a607947e (patch)
tree9a44c0f44a3f4b565372f78f5d88b26ba0d91452 /build-logic
parent5dac84c3c882ee42bc541042684de18d7166fdd3 (diff)
feat: adopt Kotlin 1.9 Enum entries feature
Diffstat (limited to 'build-logic')
-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 4b69abf7..587f66d1 100644
--- a/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinCommonPlugin.kt
+++ b/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinCommonPlugin.kt
@@ -26,7 +26,7 @@ class KotlinCommonPlugin : Plugin<Project> {
withType<KotlinCompile>().configureEach task@{
compilerOptions {
allWarningsAsErrors.set(true)
- languageVersion.set(KotlinVersion.KOTLIN_1_8)
+ languageVersion.set(KotlinVersion.KOTLIN_1_9)
freeCompilerArgs.addAll(ADDITIONAL_COMPILER_ARGS)
if (!this@task.name.contains("test", ignoreCase = true) && !isAppModule) {
freeCompilerArgs.add("-Xexplicit-api=strict")