Use new kotlin features/bugfixes and use the progressive compiler mode
This commit is contained in:
parent
301aa0cc89
commit
560bcee0f3
|
@ -178,9 +178,9 @@ allprojects {
|
|||
tasks {
|
||||
withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class) {
|
||||
with(kotlinOptions) {
|
||||
freeCompilerArgs = listOf("-Xjvm-default=all", "-Xlambdas=indy")
|
||||
freeCompilerArgs = listOf("-Xjvm-default=all", "-Xlambdas=indy", "-progressive")
|
||||
jvmTarget = if (javaVer.toInt() < 10) "1.$javaVer" else javaVer
|
||||
languageVersion = "1.5"
|
||||
languageVersion = (kotlinBaseVer.toDouble() + 0.1).toString()
|
||||
apiVersion = kotlinBaseVer
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue