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 -2
View File
@@ -128,8 +128,9 @@ java {
}
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions.freeCompilerArgs +=
listOf("-Xopt-in=kotlin.RequiresOptIn", "-Xskip-runtime-version-check")
kotlinOptions.freeCompilerArgs += listOf(
"-Xopt-in=kotlin.RequiresOptIn", "-Xskip-runtime-version-check", "-Xsuppress-version-warnings"
)
}
tasks["build"].dependsOn(":prepare-deps:build")