Author: fanningpj
Date: Mon Jun 12 09:27:13 2023
New Revision: 1910362

URL: http://svn.apache.org/viewvc?rev=1910362&view=rev
Log:
[XMLBEANS-638] start to try to produce reproducible jars (gradle)

Modified:
    xmlbeans/trunk/build.gradle

Modified: xmlbeans/trunk/build.gradle
URL: 
http://svn.apache.org/viewvc/xmlbeans/trunk/build.gradle?rev=1910362&r1=1910361&r2=1910362&view=diff
==============================================================================
--- xmlbeans/trunk/build.gradle (original)
+++ xmlbeans/trunk/build.gradle Mon Jun 12 09:27:13 2023
@@ -186,7 +186,7 @@ dependencies {
 }
 
 wrapper {
-    gradleVersion = '8.0.2'
+    gradleVersion = '8.1.1'
 }
 
 def extCP = files(configurations.testCompileClasspath + 
sourceSets.main.output.files + sourceSets.main.resources.srcDirs)
@@ -414,6 +414,11 @@ tasks.withType(GenerateModuleMetadata) {
     enabled = false
 }
 
+tasks.withType(AbstractArchiveTask).configureEach {
+    preserveFileTimestamps = false
+    reproducibleFileOrder = true
+}
+
 rat {
     dependsOn 'cacheJava9'
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to