[Git][reproducible-builds/reproducible-website][master] Add section about using Gradle for reproducible builds in JVM projects
Holger Levsen
gitlab at salsa.debian.org
Sat Mar 14 13:17:46 UTC 2020
Holger Levsen pushed to branch master at Reproducible Builds / reproducible-website
Commits:
5d0e6460 by Alex Wilson at 2020-03-14T14:17:39+01:00
Add section about using Gradle for reproducible builds in JVM projects
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- _docs/jvm.md
Changes:
=====================================
_docs/jvm.md
=====================================
@@ -133,6 +133,13 @@ For multi-module builds, each produced artifact will have its
own buildinfo file with `mvn.build-root` property defined, to know the root from which the
rebuild must happen.
+Reproducible Builds for Gradle
+---------------------------
+
+Gradle supports [reproducible archives](https://docs.gradle.org/current/userguide/working_with_files.html#sec:reproducible_archives) as of v3.4
+
+Tasks which generate archives, such as ZIPs or JARs, can enforce preserved file timestamps and reproducible file order which fix two of the main sources of non-determinism in JVM artifacts.
+
Reproducible Builds for sbt
---------------------------
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/5d0e6460583cdebf774d96f62f2a916e14dcd157
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/5d0e6460583cdebf774d96f62f2a916e14dcd157
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200314/9bc4492b/attachment.htm>
More information about the rb-commits
mailing list