[CHORE] Bump JarManager to fix remapping issues
This commit is contained in:
@@ -39,7 +39,7 @@ dependencies {
|
|||||||
shadeMe 'org.jetbrains:annotations:24.0.1'
|
shadeMe 'org.jetbrains:annotations:24.0.1'
|
||||||
shadeMe 'commons-io:commons-io:2.11.0'
|
shadeMe 'commons-io:commons-io:2.11.0'
|
||||||
|
|
||||||
shadeMe('com.hypherionmc:jarmanager:1.0.3') {
|
shadeMe('com.hypherionmc:jarmanager:1.0.4') {
|
||||||
exclude group: 'org.ow2.asm'
|
exclude group: 'org.ow2.asm'
|
||||||
}
|
}
|
||||||
shadeMe 'org.ow2.asm:asm:9.3'
|
shadeMe 'org.ow2.asm:asm:9.3'
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
version_base=1.0
|
version_base=1.0
|
||||||
version_patch=7
|
version_patch=8
|
@@ -31,6 +31,7 @@ import java.util.Map;
|
|||||||
import java.util.concurrent.atomic.AtomicReference;
|
import java.util.concurrent.atomic.AtomicReference;
|
||||||
import java.util.jar.JarFile;
|
import java.util.jar.JarFile;
|
||||||
import java.util.jar.Manifest;
|
import java.util.jar.Manifest;
|
||||||
|
import java.util.zip.Deflater;
|
||||||
|
|
||||||
import static com.hypherionmc.modfusioner.plugin.ModFusionerPlugin.logger;
|
import static com.hypherionmc.modfusioner.plugin.ModFusionerPlugin.logger;
|
||||||
import static com.hypherionmc.modfusioner.plugin.ModFusionerPlugin.modFusionerExtension;
|
import static com.hypherionmc.modfusioner.plugin.ModFusionerPlugin.modFusionerExtension;
|
||||||
@@ -81,6 +82,7 @@ public class JarMergeAction {
|
|||||||
* @throws IOException - Thrown when an IO Exception occurs
|
* @throws IOException - Thrown when an IO Exception occurs
|
||||||
*/
|
*/
|
||||||
public File mergeJars(boolean skipIfExists) throws IOException {
|
public File mergeJars(boolean skipIfExists) throws IOException {
|
||||||
|
jarManager.setCompressionLevel(Deflater.BEST_COMPRESSION);
|
||||||
File outJar = new File(tempDir, outJarName);
|
File outJar = new File(tempDir, outJarName);
|
||||||
if (outJar.exists()) {
|
if (outJar.exists()) {
|
||||||
if (skipIfExists) return outJar;
|
if (skipIfExists) return outJar;
|
||||||
|
Reference in New Issue
Block a user