Update Gradle Shadow Plugin exampe

Add `META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports` and `META-INF/spring/org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration.imports`
This commit is contained in:
Andrzej Leśkiewicz
2022-09-28 12:24:05 +02:00
committed by GitHub
parent bdf6d37841
commit b9eebb69e5

View File

@@ -241,6 +241,8 @@ shadowJar {
append 'META-INF/spring.handlers'
append 'META-INF/spring.schemas'
append 'META-INF/spring.tooling'
append 'META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports'
append 'META-INF/spring/org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration.imports'
transform(PropertiesFileTransformer) {
paths = ['META-INF/spring.factories']
mergeStrategy = "append"