diff --git a/spring-boot-project/spring-boot-cli/build.gradle b/spring-boot-project/spring-boot-cli/build.gradle index 9608a448db..57bfc18262 100644 --- a/spring-boot-project/spring-boot-cli/build.gradle +++ b/spring-boot-project/spring-boot-cli/build.gradle @@ -116,6 +116,7 @@ task fullJar(type: Jar) { zipTree(configurations.loader.singleFile).matching { exclude "META-INF/LICENSE.txt" exclude "META-INF/NOTICE.txt" + exclude "META-INF/spring-boot.properties" } } manifest { 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 e00521b9b6..4f862cfe93 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 @@ -41,6 +41,7 @@ task reproducibleLoaderJar(type: Jar) { zipTree(configurations.loader.incoming.files.singleFile).matching { exclude "META-INF/LICENSE.txt" exclude "META-INF/NOTICE.txt" + exclude "META-INF/spring-boot.properties" } } reproducibleFileOrder = true @@ -55,6 +56,7 @@ task reproducibleJarModeLayerToolsJar(type: Jar) { zipTree(configurations.jarmode.incoming.files.singleFile).matching { exclude "META-INF/LICENSE.txt" exclude "META-INF/NOTICE.txt" + exclude "META-INF/spring-boot.properties" } } reproducibleFileOrder = true