Add layout=NONE to packaging tools

This commit is contained in:
Dave Syer
2013-11-20 12:08:40 +00:00
parent 06c16ae452
commit c0bcb5e8e9
5 changed files with 53 additions and 9 deletions

View File

@@ -38,7 +38,7 @@ import org.springframework.boot.loader.tools.Layouts
public class SpringBootPluginExtension {
static enum LayoutType {
JAR(new Layouts.Jar()), WAR(new Layouts.War()), ZIP(new Layouts.Expanded()), DIR(new Layouts.Expanded());
JAR(new Layouts.Jar()), WAR(new Layouts.War()), ZIP(new Layouts.Expanded()), DIR(new Layouts.Expanded()), NONE(new Layouts.None());
Layout layout;
private LayoutType(Layout layout) {
this.layout = layout;