Skip to content

Commit

Permalink
Make jars reproducible
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuxel committed Dec 15, 2023
1 parent 841c090 commit b4fa7f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ dependencies {
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.3.1")
}

tasks.withType<Jar>().configureEach {
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
}

tasks.withType<Test> {
useJUnitPlatform()
}
Expand Down

0 comments on commit b4fa7f4

Please sign in to comment.