Skip to content

Commit 1211284

Browse files
Fixed: Enables larger Zip for Gradle Tasks (OFBIZ-13344) (#944)
Sets the org.gradle.api.tasks.bundling.Zip zip64 property value to true. Prevents distZip from failing if the archive contains more than 65535 entries or is larger than 4 GB.
1 parent eac34b7 commit 1211284

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ tasks.withType(JavaCompile) {
167167
}
168168
}
169169

170+
// Enables Zip larger than 4 GB and more than 65535 entries
171+
tasks.withType(Zip) { zip64 = true }
172+
170173
// Only used for release branches
171174
def getCurrentGitBranch() {
172175
return "git branch --show-current".execute().text.trim()

0 commit comments

Comments
 (0)