Suppress "runtime JAR files version mismatch" warnings in some plugins

This commit is contained in:
Alexander Udalov
2021-01-11 15:21:53 +01:00
parent 0d8f909bda
commit 2a7a297399
5 changed files with 14 additions and 4 deletions
+7 -1
View File
@@ -46,4 +46,10 @@ val pill by tasks.creating {
val unpill by tasks.creating {
dependsOn(jar)
doLast { runPillTask("unpill") }
}
}
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
kotlinOptions {
freeCompilerArgs = freeCompilerArgs + "-Xskip-runtime-version-check"
}
}