Skip to content

Commit f2769e6

Browse files
committed
Fix META-INF/LICENSE.txt
Previously the update put everything into META-INF Issue gh-17638
1 parent d5107dd commit f2769e6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

buildSrc/src/main/groovy/io/spring/gradle/convention/SpringModulePlugin.groovy

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ class SpringModulePlugin extends AbstractSpringJavaPlugin {
4343
deployArtifacts.dependsOn project.tasks.artifactoryPublish
4444
}
4545
project.tasks.withType(Jar) {
46-
from(project.rootProject.files('LICENSE.txt'))
47-
into('META-INF')
46+
from(project.rootProject.files('LICENSE.txt')) {
47+
into('META-INF')
48+
}
4849
}
4950
}
5051

0 commit comments

Comments
 (0)