Add a missing jmod to the build.gradle.kts

This commit is contained in:
Username404 2021-05-19 19:41:13 +02:00
parent 863bc99c10
commit 1106b8bdae
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ subprojects {
if (JavaVersion.current().isJava9Compatible) {
val jmodsLocations = setOf(
"$homeDir/jmods/java.base.jmod",
"$homeDir/jmods/java.desktop.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.")