Do not relocate javax package

This commit is contained in:
Jonas Herzig
2018-02-28 23:06:46 +01:00
parent 49c756b97d
commit 598827f074

View File

@@ -135,7 +135,7 @@ task configureRelocation() {
tree.visit { file ->
if (!file.directory && file.name.endsWith('.class')) {
def pkg = file.path.substring(0, file.path.lastIndexOf('/'))
if (!pkg.startsWith('com/replaymod')) {
if (!pkg.startsWith('com/replaymod') && !pkg.startsWith('javax/')) {
pkgs << pkg
}
}