Support for custom layout types to change loader classes

A layout can
also optionally change the loader jar that is unpacked in the root
of the repackaged archive by implementing a new method in Layout.
This commit is contained in:
Dave Syer
2016-10-28 17:33:03 +01:00
parent 500a3df6e9
commit 537e0c12c2
12 changed files with 154 additions and 15 deletions

View File

@@ -20,6 +20,8 @@ import java.io.File;
import java.util.Map;
import java.util.Set;
import groovy.lang.Closure;
import org.gradle.api.Project;
import org.gradle.api.plugins.JavaPlugin;
@@ -27,8 +29,6 @@ import org.springframework.boot.gradle.buildinfo.BuildInfo;
import org.springframework.boot.loader.tools.Layout;
import org.springframework.boot.loader.tools.LayoutType;
import groovy.lang.Closure;
/**
* Gradle DSL Extension for 'Spring Boot'. Most of the time Spring Boot can guess the
* settings in this extension, but occasionally you might need to explicitly set one or