Browse Source

Ensure spring-core JAR is reproducible

Prior to this commit, a change to Javadoc in any class in spring-core
would result in ALL tests in the entire test suite being re-run via the
Gradle build.

Thanks to a tip from @melix, this commit ensures that the spring-core
JAR is "reproducible".
pull/25251/head
Sam Brannen 5 years ago
parent
commit
50a0094a47
  1. 3
      spring-core/spring-core.gradle

3
spring-core/spring-core.gradle

@ -73,6 +73,9 @@ dependencies { @@ -73,6 +73,9 @@ dependencies {
}
jar {
reproducibleFileOrder = true
preserveFileTimestamps = false // maybe not necessary here, but good for reproducibility
// Inline repackaged cglib classes directly into spring-core jar
dependsOn cglibRepackJar
from(zipTree(cglibRepackJar.archivePath)) {

Loading…
Cancel
Save