Skip to content

Commit 632e1c8

Browse files
committed
Make JAR reproducible
1 parent 6bfc7c8 commit 632e1c8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.gradle.kts

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ repositories {
2020
mavenCentral()
2121
}
2222

23+
tasks.withType<AbstractArchiveTask>().configureEach {
24+
isPreserveFileTimestamps = false
25+
isReproducibleFileOrder = true
26+
}
27+
2328
group = "io.fuchs.gradle.classpath-collision-detector"
2429
version = "0.3"
2530

0 commit comments

Comments
 (0)