Polish
This commit is contained in:
@@ -55,9 +55,8 @@ public class BootJar extends Jar implements BootArchive {
|
||||
getMainSpec().with(this.bootInf);
|
||||
this.bootInf.into("classes", classpathFiles(File::isDirectory));
|
||||
this.bootInf.into("lib", classpathFiles(File::isFile));
|
||||
this.bootInf.filesMatching("module-info.class", (details) -> {
|
||||
details.setRelativePath(details.getRelativeSourcePath());
|
||||
});
|
||||
this.bootInf.filesMatching("module-info.class",
|
||||
(details) -> details.setRelativePath(details.getRelativeSourcePath()));
|
||||
getRootSpec().eachFile((details) -> {
|
||||
String pathString = details.getRelativePath().getPathString();
|
||||
if (pathString.startsWith("BOOT-INF/lib/")
|
||||
|
||||
@@ -54,9 +54,8 @@ public class BootWar extends War implements BootArchive {
|
||||
(copySpec) -> copySpec.from(
|
||||
(Callable<Iterable<File>>) () -> (this.providedClasspath != null)
|
||||
? this.providedClasspath : Collections.emptyList()));
|
||||
getRootSpec().filesMatching("module-info.class", (details) -> {
|
||||
details.setRelativePath(details.getRelativeSourcePath());
|
||||
});
|
||||
getRootSpec().filesMatching("module-info.class",
|
||||
(details) -> details.setRelativePath(details.getRelativeSourcePath()));
|
||||
getRootSpec().eachFile((details) -> {
|
||||
String pathString = details.getRelativePath().getPathString();
|
||||
if ((pathString.startsWith("WEB-INF/lib/")
|
||||
|
||||
Reference in New Issue
Block a user