Normalize jars

This commit is contained in:
Lucwousin
2020-06-28 09:32:04 +02:00
parent eb39e9176c
commit 99dffc1f3b
2 changed files with 8 additions and 1 deletions

View File

@@ -169,6 +169,13 @@ subprojects {
withSourcesJar()
}
withType<AbstractArchiveTask> {
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
dirMode = 493
fileMode = 420
}
withType<JavaCompile> {
options.encoding = "UTF-8"
}

View File

@@ -65,7 +65,7 @@ injector {
// keep the sourcesets etc but remove useless tasks
tasks {
inject {
dependsOn(configurations["combined"])
dependsOn(combined)
}
classes {
enabled = false