Skip to content

Commit bd1681c

Browse files
authored
Document reproducible archives by default for gradle >= 9
1 parent 39ab21b commit bd1681c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,10 @@ application {
217217

218218
Checkout the [`application` plugin documentation](https://docs.gradle.org/current/userguide/application_plugin.html) for any further details.
219219

220-
### Rule #6: Tell gradle to be more reproducible
220+
### Rule #6: Tell gradle to be more reproducible (Gradle Versions 8 and lower)
221221

222-
Gradle has [a few switches to make builds more reproducible](https://docs.gradle.org/current/userguide/working_with_files.html#sec:reproducible_archives). These must be set to ensure proper reproducibility of the genereated `.jar` files.
222+
Gradle has [a few switches to make builds more reproducible](https://docs.gradle.org/current/userguide/working_with_files.html#sec:reproducible_archives). These must be set in Gradle Versions < 9 to ensure proper reproducibility of the genereated `.jar` files.
223+
[Gradle 9 and onwards produces reproducible archives by default](https://gradle.org/whats-new/gradle-9/#reproducible-archives-by-default)
223224

224225
```kotlin
225226
// Important: This configuration is probably not complete for your project!

0 commit comments

Comments
 (0)