From e875047899af00f47eec32d5415ae5f1a607947e Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 15 Jun 2023 16:39:24 +0530 Subject: feat: adopt Kotlin 1.9 Enum entries feature --- .../src/main/kotlin/app/passwordstore/gradle/KotlinCommonPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build-logic/src/main/kotlin') 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 { withType().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") -- cgit v1.2.3