[FIX] Исправлена проблема с дубляжом module-info.class/LICENSE.txt

This commit is contained in:
Gravit 2019-06-02 08:33:31 +07:00
parent fe60d6b234
commit c896d2a196
No known key found for this signature in database
GPG key ID: 061981E1E85D3216
2 changed files with 5 additions and 1 deletions

View file

@ -22,6 +22,9 @@ public AttachJarsTask(LaunchServer srv) {
jars = new ArrayList<>(); jars = new ArrayList<>();
exclusions = new ArrayList<>(); exclusions = new ArrayList<>();
exclusions.add("META-INF"); exclusions.add("META-INF");
exclusions.add("module-info.class");
exclusions.add("LICENSE");
exclusions.add("LICENSE.txt");
} }
@Override @Override

View file

@ -24,7 +24,8 @@
"Premain-Class": mainAgentName, "Premain-Class": mainAgentName,
"Can-Redefine-Classes": "true", "Can-Redefine-Classes": "true",
"Can-Retransform-Classes": "true", "Can-Retransform-Classes": "true",
"Can-Set-Native-Method-Prefix": "true") "Can-Set-Native-Method-Prefix": "true",
"Multi-Release-Jar": "true")
} }
shadowJar { shadowJar {