JPMS: fix build running on Java 9 (#1)

This commit is contained in:
Karl Tauber
2019-10-01 17:57:00 +02:00
parent 3847b14033
commit 177996ee81

View File

@@ -54,7 +54,7 @@ tasks {
named<JavaCompile>( "compileMain9Java" ) {
doFirst {
options.compilerArgs = listOf(
"--release", "9",
"-source", "9", "-target", "9",
"--patch-module", "com.formdev.flatlaf=" + classpath.asPath
)
classpath = files()