You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Layouts.java
+16-3Lines changed: 16 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -43,17 +43,30 @@ public class Layouts {
43
43
}
44
44
}};
45
45
46
+
/**
47
+
* Resolves and instantiates named layout.
48
+
* If name is undefined, default layout is returned (JAR).
49
+
* If given name refers to one of the layout aliases (JAR, ZIP, etc), it is returned.
50
+
* Otherwise, assume layout name is an actual class name, and try to load it.
0 commit comments