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
FieldsModifier and TypeFieldDescriptionstatic final StringThe coordinates(group:name:version)of thespring-boot-dependenciesbom.static final StringThe name of theConfigurationthat contains Spring Boot archives.static final StringThe name of the defaultBootBuildImagetask.static final StringThe name of the defaultBootJartask.static final StringThe name of the defaultBootWartask.static final StringThe name of thedevelopmentOnlyconfiguration.static final StringThe name of theproductionRuntimeClasspathconfiguration. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BOOT_ARCHIVES_CONFIGURATION_NAME
The name of theConfigurationthat contains Spring Boot archives.- Since:
- 2.0.0
- See Also:
-
BOOT_JAR_TASK_NAME
The name of the defaultBootJartask.- Since:
- 2.0.0
- See Also:
-
BOOT_WAR_TASK_NAME
The name of the defaultBootWartask.- Since:
- 2.0.0
- See Also:
-
BOOT_BUILD_IMAGE_TASK_NAME
The name of the defaultBootBuildImagetask.- Since:
- 2.3.0
- See Also:
-
DEVELOPMENT_ONLY_CONFIGURATION_NAME
The name of thedevelopmentOnlyconfiguration.- Since:
- 2.3.0
- See Also:
-
PRODUCTION_RUNTIME_CLASSPATH_CONFIGURATION_NAME
The name of theproductionRuntimeClasspathconfiguration.- See Also:
-
BOM_COORDINATES
The coordinates(group:name:version)of thespring-boot-dependenciesbom.
-
-
Constructor Details
-
SpringBootPlugin
public SpringBootPlugin()
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project) - Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>
-