Merge branch '2.5.x' into 2.6.x
Closes gh-30790
This commit is contained in:
@@ -110,7 +110,8 @@ public class BootJar extends Jar implements BootArchive {
|
||||
private void moveMetaInfToRoot(CopySpec spec) {
|
||||
spec.eachFile((file) -> {
|
||||
String path = file.getRelativeSourcePath().getPathString();
|
||||
if (path.startsWith("META-INF/") && !path.equals("META-INF/aop.xml") && !path.endsWith(".kotlin_module")) {
|
||||
if (path.startsWith("META-INF/") && !path.equals("META-INF/aop.xml") && !path.endsWith(".kotlin_module")
|
||||
&& !path.startsWith("META-INF/services/")) {
|
||||
this.support.moveToRoot(file);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user