build: add desktop/sql jmod files

This commit is contained in:
Connor Tumbleson 2019-07-13 08:47:16 -04:00
parent 24c3c0dbc9
commit 4888a5a9f0
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75

View File

@ -48,6 +48,8 @@ task proguard(type: proguard.gradle.ProGuardTask, dependsOn: shadowJar) {
libraryjars "${System.properties['java.home']}/lib/rt.jar"
} else {
libraryjars "${System.properties['java.home']}/jmods/java.base.jmod", jarfilter: '!**.jar', filter: '!module-info.class'
libraryjars "${System.properties['java.home']}/jmods/java.desktop.jmod", jarfilter: '!**.jar', filter: '!module-info.class'
libraryjars "${System.properties['java.home']}/jmods/java.sql.jmod", jarfilter: '!**.jar', filter: '!module-info.class'
}
dontobfuscate