diff --git a/build.gradle b/build.gradle index 0cca9190..d55084e6 100755 --- a/build.gradle +++ b/build.gradle @@ -46,6 +46,11 @@ compileJava { sourceCompatibility = targetCompatibility = '1.8' } +tasks.withType(AbstractArchiveTask) { + preserveFileTimestamps = false + reproducibleFileOrder = true +} + sourceSets { launch { compileClasspath += main.compileClasspath + main.runtimeClasspath + main.output @@ -89,8 +94,3 @@ mixin { jar { from sourceSets.launch.output, sourceSets.api.output } - -tasks.withType(AbstractArchiveTask) { - preserveFileTimestamps = false - reproducibleFileOrder = true -}