Class SpringBootPlugin
java.lang.Object
org.springframework.boot.gradle.plugin.SpringBootPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
public class SpringBootPlugin
extends Object
implements org.gradle.api.Plugin<org.gradle.api.Project>
Gradle plugin for Spring Boot.
- Since:
- 1.2.7
- Author:
- Phillip Webb, Dave Syer, Andy Wilkinson, Danny Hyun, Scott Frederick
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The coordinates(group:name:version)
of thespring-boot-dependencies
bom.static final String
The name of theConfiguration
that contains Spring Boot archives.static final String
The name of the defaultBootBuildImage
task.static final String
The name of the defaultBootJar
task.static final String
The name of the defaultBootWar
task.static final String
The name of thedevelopmentOnly
configuration.static final String
The name of theproductionRuntimeClasspath
configuration. -
Constructor Summary
-
Method Summary
-
Field Details
-
BOOT_ARCHIVES_CONFIGURATION_NAME
The name of theConfiguration
that contains Spring Boot archives.- Since:
- 2.0.0
- See Also:
-
BOOT_JAR_TASK_NAME
The name of the defaultBootJar
task.- Since:
- 2.0.0
- See Also:
-
BOOT_WAR_TASK_NAME
The name of the defaultBootWar
task.- Since:
- 2.0.0
- See Also:
-
BOOT_BUILD_IMAGE_TASK_NAME
The name of the defaultBootBuildImage
task.- Since:
- 2.3.0
- See Also:
-
DEVELOPMENT_ONLY_CONFIGURATION_NAME
The name of thedevelopmentOnly
configuration.- Since:
- 2.3.0
- See Also:
-
PRODUCTION_RUNTIME_CLASSPATH_CONFIGURATION_NAME
The name of theproductionRuntimeClasspath
configuration.- See Also:
-
BOM_COORDINATES
The coordinates(group:name:version)
of thespring-boot-dependencies
bom.
-
-
Constructor Details
-
SpringBootPlugin
public SpringBootPlugin()
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project) - Specified by:
apply
in interfaceorg.gradle.api.Plugin<org.gradle.api.Project>
-