Exclude a few things from the java.base.jmod dependency
This commit is contained in:
parent
23633a3eeb
commit
5365db200a
@ -53,7 +53,7 @@ subprojects {
|
||||
dontwarn("java.**")
|
||||
val homeDir = System.getProperty("java.home") as String
|
||||
if (JavaVersion.current().isJava9Compatible()) {
|
||||
libraryjars("$homeDir/jmods/java.base.jmod")
|
||||
libraryjars("$homeDir/jmods/java.base.jmod(!.jar;!module-info.class)")
|
||||
} else libraryjars("$homeDir/lib/rt.jar")
|
||||
// Note: dontpreverify() should NOT be used, it will cause errors at runtime
|
||||
useuniqueclassmembernames()
|
||||
|
Loading…
Reference in New Issue
Block a user