public static interface DependencySubstitutions.Substitution
Modifier and Type | Method | Description |
---|---|---|
DependencySubstitutions.Substitution |
because(String reason) |
Specify a reason for the substitution.
|
DependencySubstitutions.Substitution |
using(ComponentSelector notation) |
Specify the target of the substitution.
|
void |
with(ComponentSelector notation) |
Specify the target of the substitution.
|
DependencySubstitutions.Substitution |
withClassifier(String classifier) |
Specifies that the substituted target dependency should use the specified classifier.
|
DependencySubstitutions.Substitution |
withoutArtifactSelectors() |
Specifies that substituted dependencies must not carry any artifact selector.
|
DependencySubstitutions.Substitution |
withoutClassifier() |
Specifies that the substituted dependency mustn't have any classifier.
|
DependencySubstitutions.Substitution because(String reason)
reason
- the reason for the selection@Incubating DependencySubstitutions.Substitution withClassifier(String classifier)
@Incubating DependencySubstitutions.Substitution withoutClassifier()
@Incubating DependencySubstitutions.Substitution withoutArtifactSelectors()
void with(ComponentSelector notation)
@Incubating DependencySubstitutions.Substitution using(ComponentSelector notation)
with(ComponentSelector)
method which supports chaining.