projects
/
cc0
/
argeo-build.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cee2dd
)
Disable compression of jar archives
author
Mathieu Baudier <mbaudier@argeo.org>
Sun, 23 Oct 2022 10:21:46 +0000
(12:21 +0200)
committer
Mathieu Baudier <mbaudier@argeo.org>
Sun, 23 Oct 2022 10:21:46 +0000
(12:21 +0200)
src/org/argeo/build/Make.java
patch
|
blob
|
history
diff --git
a/src/org/argeo/build/Make.java
b/src/org/argeo/build/Make.java
index d9e61d6d1faa8f38087170adab71dcd59b86c820..693e6f5ca6e4f2df6249e8302c5e92ba718e5216 100644
(file)
--- a/
src/org/argeo/build/Make.java
+++ b/
src/org/argeo/build/Make.java
@@
-31,6
+31,7
@@
import java.util.concurrent.CompletableFuture;
import java.util.jar.JarEntry;
import java.util.jar.JarOutputStream;
import java.util.jar.Manifest;
+import java.util.zip.Deflater;
import org.eclipse.jdt.core.compiler.CompilationProgress;
@@
-275,6
+276,7
@@
public class Make {
Files.createDirectories(jarP.getParent());
try (JarOutputStream jarOut = new JarOutputStream(Files.newOutputStream(jarP), manifest)) {
+ jarOut.setLevel(Deflater.NO_COMPRESSION);
// add all classes first
Files.walkFileTree(binP, new SimpleFileVisitor<Path>() {
@Override