@Incubating public interface DependencyConstraintHandler
A DependencyConstraintHandler is used to declare dependency constraints.
| Modifier and Type | Method | Description | 
|---|---|---|
| DependencyConstraint | add(java.lang.String configurationName,
   java.lang.Object dependencyConstraintNotation) | Adds a dependency constraint to the given configuration. | 
| DependencyConstraint | add(java.lang.String configurationName,
   java.lang.Object dependencyNotation,
   Action<? super DependencyConstraint> configureAction) | Adds a dependency constraint to the given configuration, and configures the dependency constraint using the given closure. | 
| DependencyConstraint | create(java.lang.Object dependencyConstraintNotation) | Creates a dependency constraint without adding it to a configuration. | 
| DependencyConstraint | create(java.lang.Object dependencyConstraintNotation,
      Action<? super DependencyConstraint> configureAction) | Creates a dependency constraint without adding it to a configuration, and configures the dependency constraint using
 the given closure. | 
| DependencyConstraint | enforcedPlatform(java.lang.Object notation) | Declares a constraint on an enforced platform. | 
| DependencyConstraint | enforcedPlatform(java.lang.Object notation,
                Action<? super DependencyConstraint> configureAction) | Declares a constraint on an enforced platform. | 
| DependencyConstraint | platform(java.lang.Object notation) | Declares a constraint on a platform. | 
| DependencyConstraint | platform(java.lang.Object notation,
        Action<? super DependencyConstraint> configureAction) | Declares a constraint on a platform. | 
DependencyConstraint add(java.lang.String configurationName, java.lang.Object dependencyConstraintNotation)
configurationName - The name of the configuration.dependencyConstraintNotation - the constraintDependencyConstraint add(java.lang.String configurationName, java.lang.Object dependencyNotation, Action<? super DependencyConstraint> configureAction)
configurationName - The name of the configuration.dependencyNotation - The dependency constraint notationconfigureAction - The closure to use to configure the dependency constraint.DependencyConstraint create(java.lang.Object dependencyConstraintNotation)
dependencyConstraintNotation - The dependency constraint notation.DependencyConstraint create(java.lang.Object dependencyConstraintNotation, Action<? super DependencyConstraint> configureAction)
dependencyConstraintNotation - The dependency constraint notation.configureAction - The closure to use to configure the dependency.@Incubating DependencyConstraint platform(java.lang.Object notation)
notation - the coordinates of the platform@Incubating DependencyConstraint platform(java.lang.Object notation, Action<? super DependencyConstraint> configureAction)
notation - the coordinates of the platformconfigureAction - the dependency configuration block@Incubating DependencyConstraint enforcedPlatform(java.lang.Object notation)
notation - the coordinates of the platform@Incubating DependencyConstraint enforcedPlatform(java.lang.Object notation, Action<? super DependencyConstraint> configureAction)
notation - the coordinates of the platformconfigureAction - the dependency configuration block