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
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SpringPropDepsPlugin
public SpringPropDepsPlugin()
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project) - Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>
-