mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 22:17:03 +05:30
fix: restore Kotlin language version to 2.1
This commit is contained in:
parent
8efa67f641
commit
455b9e5f48
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent
|
|||
import org.gradle.jvm.toolchain.JavaLanguageVersion
|
||||
import org.gradle.jvm.toolchain.JavaToolchainSpec
|
||||
import org.gradle.kotlin.dsl.withType
|
||||
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
@Suppress("Unused", "UnstableApiUsage")
|
||||
|
@ -30,6 +31,7 @@ class KotlinCommonPlugin : Plugin<Project> {
|
|||
compilerOptions {
|
||||
allWarningsAsErrors.set(project.providers.environmentVariable("CI").isPresent)
|
||||
freeCompilerArgs.addAll(ADDITIONAL_COMPILER_ARGS)
|
||||
languageVersion.set(KotlinVersion.KOTLIN_2_1)
|
||||
}
|
||||
}
|
||||
withType<Test>().configureEach {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue