Fix META-INF/LICENSE.txt

Previously the update put everything into META-INF

Issue gh-17638
This commit is contained in:
Rob Winch 2025-07-29 15:29:47 -05:00
parent d5107dd752
commit f2769e6eff
No known key found for this signature in database

View File

@ -43,8 +43,9 @@ class SpringModulePlugin extends AbstractSpringJavaPlugin {
deployArtifacts.dependsOn project.tasks.artifactoryPublish deployArtifacts.dependsOn project.tasks.artifactoryPublish
} }
project.tasks.withType(Jar) { project.tasks.withType(Jar) {
from(project.rootProject.files('LICENSE.txt')) from(project.rootProject.files('LICENSE.txt')) {
into('META-INF') into('META-INF')
}
} }
} }