diff --git a/spring-boot-project/spring-boot-cli/build.gradle b/spring-boot-project/spring-boot-cli/build.gradle index f257ac7f3e..0651a3264f 100644 --- a/spring-boot-project/spring-boot-cli/build.gradle +++ b/spring-boot-project/spring-boot-cli/build.gradle @@ -103,6 +103,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 032c7127b6..54050582c5 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"