Usage
Apply this plugin to all projects in your build, and it configures archive and compilation tasks for reproducibility.
plugins {
id("org.gradlex.reproducible-builds")
}
plugins {
id 'org.gradlex.reproducible-builds'
}
What this plugin does
This sections explains each of the configurations the plugin applies to your build.
Compilation tasks
| Setting | Value | Explanation |
|---|---|---|
|
|
If not configured, the platform encoding is used. |
| Setting | Value | Explanation |
|---|---|---|
|
|
Required, so that fork options always take effect. |
|
|
Use |
Archive tasks (Gradle 8.x only)
|
ℹ️
|
Since 9.0.0, Gradle core covers this aspect of reproducibility directly |
| Setting | Value | Explanation |
|---|---|---|
|
|
If not configured, files inside the archive will have timestamps related to when the files were created. |
|
|
If not configured, the order of entries in the archive depends on the underlying filesystem of the machine that creates the archive. |
|
|
If not configured, permissions are influence by the operating system on which the build is running and usually differ between Unix and Windows. |
|
|
If not configured, permissions are influence by the operating system on which the build is running and usually differ between Unix and Windows. |