mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +03:00
[FIX] Исправлена проблема с дубляжом module-info.class/LICENSE.txt
This commit is contained in:
parent
fe60d6b234
commit
c896d2a196
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue