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
  • Constructor Details

    • DevelopmentOnlyDependencyGradleBuildCustomizer

      public DevelopmentOnlyDependencyGradleBuildCustomizer(String dependencyId)
      Create a new instance with the identifier for the dependency.
      Parameters:
      dependencyId - the id of the dependency
  • Method Details