Skip to content

Commit 15f82b1

Browse files
committed
chore: Enable Zip64 for fatJar and shadowJar to avoid entry limit
1 parent b9b10a8 commit 15f82b1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

mpp-server/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ tasks.register<Jar>("fatJar") {
4949
archiveBaseName.set("mpp-server")
5050
archiveClassifier.set("all")
5151
archiveVersion.set(project.version.toString())
52+
isZip64 = true
5253

5354
manifest {
5455
attributes["Main-Class"] = "cc.unitmesh.server.ServerApplicationKt"
@@ -67,3 +68,8 @@ tasks.register<Jar>("fatJar") {
6768
tasks.named("build") {
6869
dependsOn("fatJar")
6970
}
71+
72+
// Ktor plugin also creates a ShadowJar; enable Zip64 to avoid 65535 entries limit
73+
tasks.named<Jar>("shadowJar") {
74+
isZip64 = true
75+
}

0 commit comments

Comments
 (0)