Class DevToolsGradleBuildCustomizer

java.lang.Object
io.spring.initializr.generator.spring.build.gradle.DevelopmentOnlyDependencyGradleBuildCustomizer
io.spring.initializr.generator.spring.dependency.devtools.DevToolsGradleBuildCustomizer
All Implemented Interfaces:
BuildCustomizer<GradleBuild>, org.springframework.core.Ordered

@Deprecated(since="0.20.0", forRemoval=true) public class DevToolsGradleBuildCustomizer extends DevelopmentOnlyDependencyGradleBuildCustomizer
Deprecated, for removal: This API element is subject to removal in a future version.
Gradle BuildCustomizer that creates a dedicated "developmentOnly" configuration when devtools is selected.
Author:
Stephane Nicoll
  • Constructor Details

    • DevToolsGradleBuildCustomizer

      public DevToolsGradleBuildCustomizer(Version platformVersion, String devtoolsDependencyId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create a new instance with the requested platform version and the identifier for the devtools dependency.
      Parameters:
      platformVersion - the version of the plateform
      devtoolsDependencyId - the id of the devtools dependency