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
@@ -1,4 +1,3 @@
plugins {
kotlin("jvm")
id("jps-compatible")
@@ -19,7 +18,9 @@ sourceSets {
}
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
kotlinOptions.freeCompilerArgs += "-Xallow-kotlin-package"
kotlinOptions.freeCompilerArgs += listOf(
"-Xallow-kotlin-package", "-Xsuppress-deprecated-jvm-target-warning"
)
}
publish()