feat(build): raise Kotlin target to match version
This commit is contained in:
parent
086cbe9121
commit
ff0b489dd9
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class KotlinCommonPlugin : Plugin<Project> {
|
|||
compilerOptions {
|
||||
jvmTarget.set(JvmTarget.JVM_11)
|
||||
allWarningsAsErrors.set(true)
|
||||
languageVersion.set(KotlinVersion.KOTLIN_1_5)
|
||||
languageVersion.set(KotlinVersion.KOTLIN_1_8)
|
||||
freeCompilerArgs.addAll(ADDITIONAL_COMPILER_ARGS)
|
||||
if (!this@task.name.contains("test", ignoreCase = true) && !isAppModule) {
|
||||
freeCompilerArgs.add("-Xexplicit-api=strict")
|
||||
|
|
Loading…
Reference in a new issue