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 Details

    • BOOT_ARCHIVES_CONFIGURATION_NAME

      public static final String BOOT_ARCHIVES_CONFIGURATION_NAME
      The name of the Configuration that contains Spring Boot archives.
      Since:
      2.0.0
      See Also:
    • BOOT_JAR_TASK_NAME

      public static final String BOOT_JAR_TASK_NAME
      The name of the default BootJar task.
      Since:
      2.0.0
      See Also:
    • BOOT_WAR_TASK_NAME

      public static final String BOOT_WAR_TASK_NAME
      The name of the default BootWar task.
      Since:
      2.0.0
      See Also:
    • BOOT_BUILD_IMAGE_TASK_NAME

      public static final String BOOT_BUILD_IMAGE_TASK_NAME
      The name of the default BootBuildImage task.
      Since:
      2.3.0
      See Also:
    • DEVELOPMENT_ONLY_CONFIGURATION_NAME

      public static final String DEVELOPMENT_ONLY_CONFIGURATION_NAME
      The name of the developmentOnly configuration.
      Since:
      2.3.0
      See Also:
    • PRODUCTION_RUNTIME_CLASSPATH_CONFIGURATION_NAME

      public static final String PRODUCTION_RUNTIME_CLASSPATH_CONFIGURATION_NAME
      The name of the productionRuntimeClasspath configuration.
      See Also:
    • RESOLVE_MAIN_CLASS_NAME_TASK_NAME

      public static final String RESOLVE_MAIN_CLASS_NAME_TASK_NAME
      The name of the ResolveMainClassName task.
      Since:
      3.0.0
      See Also:
    • BOM_COORDINATES

      public static final String BOM_COORDINATES
      The coordinates (group:name:version) of the spring-boot-dependencies bom.
  • Constructor Details

    • SpringBootPlugin

      public SpringBootPlugin()
  • Method Details

    • apply

      public void apply(org.gradle.api.Project project)
      Specified by:
      apply in interface org.gradle.api.Plugin<org.gradle.api.Project>