Class SpringBootPlugin

java.lang.Object
org.springframework.boot.gradle.plugin.SpringBootPlugin
All Implemented Interfaces:
Plugin<Project>

public class SpringBootPlugin extends Object implements Plugin<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 used to resolve a main class from the output of the main source set.
      Since:
      3.0.0
      See Also:
    • RESOLVE_TEST_MAIN_CLASS_NAME_TASK_NAME

      public static final String RESOLVE_TEST_MAIN_CLASS_NAME_TASK_NAME
      The name of the ResolveMainClassName task used to resolve a main class from the output of the test source set then, if needed, the output of the main source set.
      Since:
      3.1.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