Revert "Build: add temporary option to suppress jdkHome warning"

This reverts commit 1dfcec3a93.
This commit is contained in:
Yahor Berdnikau
2021-06-28 10:06:18 +02:00
committed by Space
parent 5b5dddc2d1
commit 08d831934a
6 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ val compileJava by tasks.getting(JavaCompile::class) {
val compileKotlin by tasks.getting(KotlinCompile::class) {
kotlinOptions {
jvmTarget = "1.6"
jdkHome = (rootProject.extra["JDK_16"] as String).takeUnless { kotlinBuildProperties.suppressJdkHomeWarning }
jdkHome = rootProject.extra["JDK_16"] as String
freeCompilerArgs += "-Xsuppress-deprecated-jvm-target-warning"
}
}