Fix a condition in the root-level gradle buildscript
This commit is contained in:
parent
e618407a94
commit
ece6c40ab5
|
@ -177,7 +177,7 @@ allprojects {
|
|||
withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class) {
|
||||
with(kotlinOptions) {
|
||||
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()
|
||||
apiVersion = kotlinBaseVer
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue