This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1211284593 Fixed: Enables larger Zip for Gradle Tasks (OFBIZ-13344) 
(#944)
1211284593 is described below

commit 121128459310a7a04b299263b4c8ad6bb84b7372
Author: david-maksimovic-ecomify <[email protected]>
AuthorDate: Wed Jan 21 15:39:14 2026 +0100

    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.
---
 build.gradle | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/build.gradle b/build.gradle
index 2d5bbb6f5e..3f7ff5a68c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -167,6 +167,9 @@ tasks.withType(JavaCompile) {
     }
 }
 
+// Enables Zip larger than 4 GB and more than 65535 entries
+tasks.withType(Zip) { zip64 = true }
+
 // Only used for release branches
 def getCurrentGitBranch() {
     return "git branch --show-current".execute().text.trim()

Reply via email to