api / org.gradle.api.artifacts / DependencySubstitutions / Substitution

Substitution

interface Substitution

Provides a DSL-friendly mechanism for specifying the target of a substitution.

Functions

because

abstract fun because(reason: String): Substitution

Specify a reason for the substition. This is optional

with

abstract fun with(notation: ComponentSelector): Unit

Specify the target of the substitution.