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
@@ -42,6 +42,7 @@ tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
kotlinOptions {
// This module is being run from within Gradle, older versions of which only have kotlin-stdlib 1.3 in the runtime classpath.
apiVersion = "1.3"
freeCompilerArgs += "-Xsuppress-version-warnings"
}
}