Use stable order and constant timestamps in merged sources jar
To avoid up-to-date fights between several kotlin working copies.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user