Build: suppress version and JVM target warnings
To further reduce the output on each build.
This commit is contained in:
@@ -65,6 +65,7 @@ tasks.withType<KotlinCompile> {
|
||||
freeCompilerArgs += listOf(
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xmulti-platform",
|
||||
"-Xsuppress-deprecated-jvm-target-warning",
|
||||
"-Xopt-in=kotlin.RequiresOptIn",
|
||||
"-Xopt-in=kotlin.contracts.ExperimentalContracts"
|
||||
)
|
||||
@@ -90,4 +91,3 @@ publishing {
|
||||
maven("${rootProject.buildDir}/internal/repo")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -136,6 +136,7 @@ compileTestKotlin {
|
||||
"-Xopt-in=kotlin.RequiresOptIn",
|
||||
"-Xopt-in=kotlin.ExperimentalUnsignedTypes",
|
||||
"-Xopt-in=kotlin.ExperimentalStdlibApi",
|
||||
"-Xsuppress-deprecated-jvm-target-warning",
|
||||
]
|
||||
// This is needed for JavaTypeTest; typeOf for non-reified type parameters doesn't work otherwise, for implementation reasons.
|
||||
freeCompilerArgs.remove("-Xno-optimized-callable-references")
|
||||
|
||||
Reference in New Issue
Block a user