Skip to content

Commit 0b5d178

Browse files
committed
Merge branch '2.5.x'
Closes gh-28120
2 parents 6a6d3d2 + ef18a21 commit 0b5d178

File tree

1 file changed

+4
-9
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-loader-tools

1 file changed

+4
-9
lines changed

spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@ dependencies {
3535
testImplementation("org.zeroturnaround:zt-zip:1.13")
3636
}
3737

38-
sourceSets {
39-
main {
40-
resources.srcDirs generatedResources
41-
}
42-
}
43-
4438
task reproducibleLoaderJar(type: Jar) {
4539
dependsOn configurations.loader
4640
from {
@@ -69,9 +63,10 @@ task reproducibleJarModeLayerToolsJar(type: Jar) {
6963
destinationDirectory = file("${generatedResources}/META-INF/jarmode")
7064
}
7165

72-
processResources {
73-
dependsOn reproducibleLoaderJar
74-
dependsOn reproducibleJarModeLayerToolsJar
66+
sourceSets {
67+
main {
68+
output.dir(generatedResources, builtBy: [reproducibleJarModeLayerToolsJar, reproducibleLoaderJar])
69+
}
7570
}
7671

7772
compileJava {

0 commit comments

Comments
 (0)