Revert "Exclude a few things from the java.base.jmod dependency"

This reverts commit e84c497fc8b4919867c413730b9342c3d0d37490.
This commit is contained in:
Username404 2021-04-27 03:04:06 +02:00
parent 5365db200a
commit 3a56cd3be2
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1

View File

@ -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(!.jar;!module-info.class)")
libraryjars("$homeDir/jmods/java.base.jmod")
} else libraryjars("$homeDir/lib/rt.jar")
// Note: dontpreverify() should NOT be used, it will cause errors at runtime
useuniqueclassmembernames()