Skip to content

Commit 45253f3

Browse files
committed
enable zip-9 compression in custom jre
1 parent f34869d commit 45253f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ shadowJar {
9393
}
9494

9595
runtime {
96-
options = ['--strip-debug', '--no-header-files', '--no-man-pages']
97-
modules = [ 'java.desktop', 'java.instrument', 'java.naming', 'java.sql', 'jdk.crypto.ec', 'jdk.unsupported']
96+
options = ['--compress', 'zip-9', '--strip-debug', '--no-header-files', '--no-man-pages']
97+
modules = ['java.desktop', 'java.instrument', 'java.naming', 'java.sql', 'jdk.crypto.ec']
9898
}
9999

100100
suggestModules.dependsOn shadowJar

0 commit comments

Comments
 (0)