Add a missing jmod to the build.gradle.kts
This commit is contained in:
parent
863bc99c10
commit
1106b8bdae
|
@ -72,6 +72,7 @@ subprojects {
|
||||||
if (JavaVersion.current().isJava9Compatible) {
|
if (JavaVersion.current().isJava9Compatible) {
|
||||||
val jmodsLocations = setOf(
|
val jmodsLocations = setOf(
|
||||||
"$homeDir/jmods/java.base.jmod",
|
"$homeDir/jmods/java.base.jmod",
|
||||||
|
"$homeDir/jmods/java.desktop.jmod",
|
||||||
"$homeDir/jmods/java.instrument.jmod"
|
"$homeDir/jmods/java.instrument.jmod"
|
||||||
)
|
)
|
||||||
if (jmodsLocations.all { !file(it).exists() }) throw GradleException("Jmods appear to be missing, please make sure that jmods are installed.")
|
if (jmodsLocations.all { !file(it).exists() }) throw GradleException("Jmods appear to be missing, please make sure that jmods are installed.")
|
||||||
|
|
Loading…
Reference in New Issue