(Build: bit of code cleanup)
diff --git a/build.gradle.kts b/build.gradle.kts
index 64a034e..6e6f1f9 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -39,8 +39,7 @@
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
@@ -50,7 +49,6 @@
dirPermissions {
unix("rwxr-xr-x")
}
- }
}
freemarkerRoot {