Class DevelopmentOnlyDependencyGradleBuildCustomizer
java.lang.Object
io.spring.initializr.generator.spring.build.gradle.DevelopmentOnlyDependencyGradleBuildCustomizer
- All Implemented Interfaces:
BuildCustomizer<GradleBuild>
,org.springframework.core.Ordered
public class DevelopmentOnlyDependencyGradleBuildCustomizer
extends Object
implements BuildCustomizer<GradleBuild>
Gradle
BuildCustomizer
that sets the "developmentOnly" configuration for a
dependency.- Author:
- Stephane Nicoll, Moritz Halbritter
-
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
ConstructorsConstructorDescriptionDevelopmentOnlyDependencyGradleBuildCustomizer
(String dependencyId) Create a new instance with the identifier for the dependency. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.spring.initializr.generator.spring.build.BuildCustomizer
getOrder
-
Constructor Details
-
DevelopmentOnlyDependencyGradleBuildCustomizer
Create a new instance with the identifier for the dependency.- Parameters:
dependencyId
- the id of the dependency
-
-
Method Details
-
customize
- Specified by:
customize
in interfaceBuildCustomizer<GradleBuild>
-