Cleanup merged jar on failure
parent
943477143a
commit
9303dc39c3
|
@ -104,6 +104,7 @@ public class MinecraftProvider extends DependencyProvider {
|
||||||
} catch (ZipError e) {
|
} catch (ZipError e) {
|
||||||
HashedDownloadUtil.delete(minecraftClientJar);
|
HashedDownloadUtil.delete(minecraftClientJar);
|
||||||
HashedDownloadUtil.delete(minecraftServerJar);
|
HashedDownloadUtil.delete(minecraftServerJar);
|
||||||
|
minecraftMergedJar.delete();
|
||||||
|
|
||||||
getProject().getLogger().error("Could not merge JARs! Deleting source JARs - please re-run the command and move on.", e);
|
getProject().getLogger().error("Could not merge JARs! Deleting source JARs - please re-run the command and move on.", e);
|
||||||
throw new RuntimeException();
|
throw new RuntimeException();
|
||||||
|
|
Loading…
Reference in New Issue