From 8447701d741e147c3ecd7bdc3b393e313c5c1aa2 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Fri, 27 Mar 2020 02:59:17 +0300 Subject: [PATCH] Use stable order and constant timestamps in merged sources jar To avoid up-to-date fights between several kotlin working copies. --- buildSrc/prepare-deps/build.gradle.kts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildSrc/prepare-deps/build.gradle.kts b/buildSrc/prepare-deps/build.gradle.kts index 5461536c136..0575e479b02 100644 --- a/buildSrc/prepare-deps/build.gradle.kts +++ b/buildSrc/prepare-deps/build.gradle.kts @@ -189,6 +189,8 @@ val makeIntellijAnnotations by tasks.registering(Copy::class) { val mergeSources by tasks.creating(Jar::class.java) { dependsOn(sources) + isPreserveFileTimestamps = false + isReproducibleFileOrder = true from(provider { sources.map(::zipTree) }) destinationDirectory.set(File(repoDir, sources.name)) archiveBaseName.set("intellij")