Build: suppress version and JVM target warnings

To further reduce the output on each build.
This commit is contained in:
Alexander Udalov
2021-02-17 23:09:33 +01:00
parent 49fc1b9e3e
commit 1d6b198915
18 changed files with 52 additions and 16 deletions
+3 -1
View File
@@ -32,7 +32,9 @@ dependencies {
tasks.withType(project.compileKotlin.class) {
kotlinOptions.languageVersion = "1.3"
kotlinOptions.apiVersion = "1.3"
kotlinOptions.freeCompilerArgs += ["-Xskip-prerelease-check", "-Xskip-runtime-version-check"]
kotlinOptions.freeCompilerArgs += [
"-Xskip-prerelease-check", "-Xskip-runtime-version-check", "-Xsuppress-version-warnings"
]
}
jar {