Skip to content

Commit

Permalink
(Build: bit of code cleanup)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddekany committed Dec 28, 2023
1 parent 47e9daf commit 6543e50
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ tasks.withType<JavaCompile>().configureEach {
options.encoding = "UTF-8"
}

tasks.withType<AbstractArchiveTask>().configureEach {
if (archiveFileName.get().endsWith(".jar")) {
tasks.withType<Jar>().configureEach {
// make contents of freemarker.jar reproducible
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
Expand All @@ -50,7 +49,6 @@ tasks.withType<AbstractArchiveTask>().configureEach {
dirPermissions {
unix("rwxr-xr-x")
}
}
}

freemarkerRoot {
Expand Down

0 comments on commit 6543e50

Please sign in to comment.