Build: suppress version and JVM target warnings
To further reduce the output on each build.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user