public class SpringBootExtension extends Object
| Constructor and Description | 
|---|
SpringBootExtension(Project project)
Creates a new  
SpringBootPluginExtension that is associated with the given
 project. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
buildInfo()
Creates a new  
BuildInfo task named bootBuildInfo and configures the
 Java plugin's classes task to depend upon it. | 
void | 
buildInfo(Action<BuildInfo> configurer)
Creates a new  
BuildInfo task named bootBuildInfo and configures the
 Java plugin's classes task to depend upon it. | 
public SpringBootExtension(Project project)
SpringBootPluginExtension that is associated with the given
 project.project - the projectpublic void buildInfo()
BuildInfo task named bootBuildInfo and configures the
 Java plugin's classes task to depend upon it.
 
 By default, the task's destination dir will be a directory named META-INF
 beneath the main source set's resources output directory, and the task's project
 artifact will be the base name of the bootWar or bootJar task.
public void buildInfo(Action<BuildInfo> configurer)
BuildInfo task named bootBuildInfo and configures the
 Java plugin's classes task to depend upon it. The task is passed to the
 given configurer for further configuration.
 
 By default, the task's destination dir will be a directory named META-INF
 beneath the main source set's resources output directory, and the task's project
 artifact will be the base name of the bootWar or bootJar task.
configurer - the task configurer