Set targetCompatibility in the build.gradle.kts file
This commit is contained in:
parent
24df3a12cc
commit
acaa6b9618
|
@ -192,6 +192,7 @@ allprojects {
|
|||
javaCompiler.set(compiler)
|
||||
// The following lines are required for Jabel:
|
||||
sourceCompatibility = sourceJavaVer
|
||||
targetCompatibility = javaVer
|
||||
forkOptions.jvmArgs!!.addAll(listOf(
|
||||
"--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
|
||||
"--add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED"
|
||||
|
|
Loading…
Reference in New Issue