Archived
1
0
Fork 0

Enable progressive mode in all modules

This commit is contained in:
Moritz Ruth 2021-01-03 14:34:18 +01:00
parent 91026b373d
commit 4e4d2ed65b
No known key found for this signature in database
GPG key ID: AFD57E23E753841B
5 changed files with 6 additions and 13 deletions

View file

@ -16,5 +16,6 @@ repositories {
allprojects {
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "14"
kotlinOptions.freeCompilerArgs += "-progressive"
}
}

View file

@ -18,10 +18,7 @@ dependencies {
tasks {
compileKotlin {
kotlinOptions.freeCompilerArgs = listOf(
"-Xopt-in=kotlin.time.ExperimentalTime",
"-progressive"
)
kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.time.ExperimentalTime"
}
}

View file

@ -16,9 +16,7 @@ dependencies {
tasks {
compileKotlin {
kotlinOptions.freeCompilerArgs = listOf(
"-Xopt-in=kotlin.ExperimentalUnsignedTypes"
)
kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.ExperimentalUnsignedTypes"
}
shadowJar {

View file

@ -43,11 +43,10 @@ kotlin {
tasks {
compileKotlin {
kotlinOptions.freeCompilerArgs = listOf(
kotlinOptions.freeCompilerArgs += listOf(
"-Xopt-in=kotlin.contracts.ExperimentalContracts",
"-Xopt-in=kotlin.ExperimentalUnsignedTypes",
"-Xopt-in=kotlin.RequiresOptIn",
"-progressive"
"-Xopt-in=kotlin.RequiresOptIn"
)
}

View file

@ -28,9 +28,7 @@ dependencies {
tasks {
compileKotlin {
kotlinOptions.freeCompilerArgs = listOf(
"-Xopt-in=kotlin.RequiresOptIn"
)
kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
}
test {