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