mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
[FEATURE] Опция включения AttachJarTask до ProGuard
This commit is contained in:
parent
b985ae15a4
commit
a409f19f66
2 changed files with 3 additions and 1 deletions
|
@ -271,6 +271,7 @@ public static class NettyUpdatesBind
|
||||||
|
|
||||||
public class LauncherConf {
|
public class LauncherConf {
|
||||||
public String guardType;
|
public String guardType;
|
||||||
|
public boolean attachLibraryBeforeProGuard;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class NettyConfig {
|
public class NettyConfig {
|
||||||
|
|
|
@ -42,10 +42,11 @@ public JARLauncherBinary(LaunchServer server) throws IOException {
|
||||||
public void init() {
|
public void init() {
|
||||||
tasks.add(new PrepareBuildTask(server));
|
tasks.add(new PrepareBuildTask(server));
|
||||||
tasks.add(new MainBuildTask(server));
|
tasks.add(new MainBuildTask(server));
|
||||||
|
if(server.config.launcher.attachLibraryBeforeProGuard) tasks.add(new AttachJarsTask(server));
|
||||||
tasks.add(new ProGuardBuildTask(server));
|
tasks.add(new ProGuardBuildTask(server));
|
||||||
tasks.add(new AdditionalFixesApplyTask(server));
|
tasks.add(new AdditionalFixesApplyTask(server));
|
||||||
tasks.add(new RadonBuildTask(server));
|
tasks.add(new RadonBuildTask(server));
|
||||||
tasks.add(new AttachJarsTask(server));
|
if(!server.config.launcher.attachLibraryBeforeProGuard) tasks.add(new AttachJarsTask(server));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue