Add -Xsuppress-deprecated-jvm-target-warning to modules compiled with 1.6

Currently this leads to an unknown argument warning, but it'll be
removed automatically on the next bootstrap.
This commit is contained in:
Alexander Udalov
2021-02-02 13:50:09 +01:00
parent 99b5e5a373
commit e0b6d4d917
25 changed files with 138 additions and 21 deletions
+3 -2
View File
@@ -34,8 +34,9 @@ configureJavadocJar()
compileKotlin {
kotlinOptions.freeCompilerArgs = [
"-Xallow-kotlin-package",
"-Xnormalize-constructor-calls=enable",
"-Xallow-kotlin-package",
"-Xnormalize-constructor-calls=enable",
"-Xsuppress-deprecated-jvm-target-warning",
]
kotlinOptions.moduleName = project.name
}