From 8572d9e177ce67d108210e318f97f13512630458 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 12 Dec 2024 11:05:58 +0000 Subject: [PATCH] Restore previous Main-Class configuration This partially reverts commit d924e4d9998945933a4a9947a6ca776e303db1ea. See gh-43284 --- .../spring-boot-starter-parent/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-parent/build.gradle b/spring-boot-project/spring-boot-starters/spring-boot-starter-parent/build.gradle index 6c4c81d4c4..490d57310f 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-parent/build.gradle +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-parent/build.gradle @@ -234,8 +234,8 @@ publishing.publications.withType(MavenPublication) { } transformer(implementation: 'org.apache.maven.plugins.shade.resource.ServicesResourceTransformer') transformer(implementation: 'org.apache.maven.plugins.shade.resource.ManifestResourceTransformer') { + delegate.mainClass('${start-class}') manifestEntries { - delegate.'Main-Class'('${start-class}') delegate.'Multi-Release'('true') } }