diff --git a/spring-boot-project/spring-boot-cli/build.gradle b/spring-boot-project/spring-boot-cli/build.gradle index 5b8cdf46d40..1214978270b 100644 --- a/spring-boot-project/spring-boot-cli/build.gradle +++ b/spring-boot-project/spring-boot-cli/build.gradle @@ -98,6 +98,7 @@ test { } task fullJar(type: Jar) { + dependsOn configurations.loader classifier = "full" entryCompression = "stored" from(configurations.runtimeClasspath) { diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle index e12d9d67713..42d80f497fb 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle @@ -42,6 +42,7 @@ sourceSets { } task reproducibleLoaderJar(type: Jar) { + dependsOn configurations.loader from { zipTree(configurations.loader.incoming.files.singleFile).matching { exclude "META-INF/LICENSE.txt" @@ -55,6 +56,7 @@ task reproducibleLoaderJar(type: Jar) { } task reproducibleJarModeLayerToolsJar(type: Jar) { + dependsOn configurations.jarmode from { zipTree(configurations.jarmode.incoming.files.singleFile).matching { exclude "META-INF/LICENSE.txt"