Class SpringPropDepsPlugin

java.lang.Object
org.springframework.gradle.propdeps.SpringPropDepsPlugin
All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>

public class SpringPropDepsPlugin extends Object implements org.gradle.api.Plugin<org.gradle.api.Project>
Plugin to allow 'optional' and 'provided' dependency configurations As stated in the maven documentation, provided scope "is only available on the compilation and test classpath, and is not transitive". This plugin creates two new configurations, and each one:
  • is a parent of the compile configuration
  • is not visible, not transitive
  • all dependencies are excluded from the default configuration
See Also:
  • Constructor Details

    • SpringPropDepsPlugin

      public SpringPropDepsPlugin()
  • Method Details

    • apply

      public void apply(org.gradle.api.Project project)
      Specified by:
      apply in interface org.gradle.api.Plugin<org.gradle.api.Project>