Move the homeDir variable in the buildscript
This commit is contained in:
parent
8293a7c086
commit
d028baa5d5
|
@ -96,12 +96,12 @@ subprojects {
|
||||||
|
|
||||||
dontwarn("kotlinx.serialization.**")
|
dontwarn("kotlinx.serialization.**")
|
||||||
|
|
||||||
val homeDir = System.getProperty("java.home") as String
|
|
||||||
doFirst {
|
doFirst {
|
||||||
libraryjars(configurations.compileClasspath.get().filterNot { file ->
|
libraryjars(configurations.compileClasspath.get().filterNot { file ->
|
||||||
shadowC.contains(file)
|
shadowC.contains(file)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
val homeDir = System.getProperty("java.home") as String
|
||||||
if (JavaVersion.current().isJava9Compatible) {
|
if (JavaVersion.current().isJava9Compatible) {
|
||||||
val jmodsLocations = setOf(
|
val jmodsLocations = setOf(
|
||||||
"$homeDir/jmods/java.base.jmod",
|
"$homeDir/jmods/java.base.jmod",
|
||||||
|
|
Loading…
Reference in New Issue