Build: remove obsolete compiler arguments

These compiler arguments enable features which are enabled by default in
the current Kotlin anyway.

The only exception is in :compiler:cli which uses an old language
version.
This commit is contained in:
Alexander Udalov
2021-07-25 19:15:19 +02:00
parent 707e1c7f8d
commit 91c39ed01c
25 changed files with 20 additions and 87 deletions
@@ -28,12 +28,6 @@ sourceSets {
}
}
compileTestKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xnormalize-constructor-calls=enable"]
}
}
test {
dependsOn configurations.testArtifacts
@@ -25,7 +25,6 @@ configureJavadocJar()
compileKotlin {
kotlinOptions.freeCompilerArgs = [
"-Xallow-kotlin-package",
"-Xnormalize-constructor-calls=enable",
]
kotlinOptions.moduleName = project.name
}
@@ -37,7 +37,6 @@ configureJavadocJar()
compileKotlin {
kotlinOptions.freeCompilerArgs = [
"-Xallow-kotlin-package",
"-Xnormalize-constructor-calls=enable",
"-Xsuppress-deprecated-jvm-target-warning",
]
kotlinOptions.moduleName = project.name