Use new kotlin features/bugfixes and use the progressive compiler mode

This commit is contained in:
Username404-59 2021-06-03 17:15:41 +02:00
parent 301aa0cc89
commit 560bcee0f3
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 2 additions and 2 deletions

View File

@ -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
}
}