Fix a condition in the root-level gradle buildscript

This commit is contained in:
Username404 2021-06-05 16:57:28 +02:00
parent e618407a94
commit ece6c40ab5
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ allprojects {
withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class) { withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class) {
with(kotlinOptions) { with(kotlinOptions) {
freeCompilerArgs = listOf("-Xjvm-default=all", "-Xlambdas=indy", "-progressive") freeCompilerArgs = listOf("-Xjvm-default=all", "-Xlambdas=indy", "-progressive")
jvmTarget = if (javaVer.toInt() < 10) "1.$javaVer" else javaVer jvmTarget = if (javaVer.toInt() < 9) "1.$javaVer" else javaVer
languageVersion = (kotlinBaseVer.toDouble() + 0.1).toString() languageVersion = (kotlinBaseVer.toDouble() + 0.1).toString()
apiVersion = kotlinBaseVer apiVersion = kotlinBaseVer
} }