Class DevToolsGradleBuildCustomizer
java.lang.Object
io.spring.initializr.generator.spring.dependency.devtools.DevToolsGradleBuildCustomizer
- All Implemented Interfaces:
BuildCustomizer<GradleBuild>,org.springframework.core.Ordered
Gradle
BuildCustomizer that creates a dedicated "developmentOnly" configuration
when devtools is selected.- Author:
- Stephane Nicoll
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.spring.initializr.generator.spring.build.BuildCustomizer
BuildCustomizer.OrderedBuildCustomizer<B extends Build> -
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionDevToolsGradleBuildCustomizer(Version platformVersion, String devtoolsDependencyId) Create a new instance with the requestedplatform versionand the identifier for the devtools dependency. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.spring.initializr.generator.spring.build.BuildCustomizer
getOrder
-
Constructor Details
-
DevToolsGradleBuildCustomizer
Create a new instance with the requestedplatform versionand the identifier for the devtools dependency.- Parameters:
platformVersion- the version of the plateformdevtoolsDependencyId- the id of the devtools dependency
-
-
Method Details
-
customize
- Specified by:
customizein interfaceBuildCustomizer<GradleBuild>
-