diff --git a/build.xml b/build.xml
index 687d092a..d7ce3062 100644
--- a/build.xml
+++ b/build.xml
@@ -208,8 +208,12 @@
+ def destfile = { r ->
+ ant.project.properties.'dir.dist' + '/lib/' + r.file.name.replaceAll(/.jdk15on|.java16/, '').toLowerCase()
+ }
+
project.references.'jar.classpath'.each { r ->
- ant.jar(destfile: ant.project.properties.'dir.dist' + '/lib/' + r.file.name, index: 'yes', compress: 'no') {
+ ant.jar(destfile: destfile(r), index: 'yes', indexMetaInf: 'yes', compress: 'no') {
zipfileset(src: r) {
exclude(name: 'META-INF/MANIFEST.MF')
exclude(name: 'META-INF/INDEX.LIST')
@@ -222,17 +226,20 @@
}
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -242,13 +249,12 @@
-
-
-
-
-
+
+
+
+
-
+
@@ -256,6 +262,7 @@
+