Artifact Selection Details
Details about artifact dependency substitution: this class gives access to the original dependency requested artifacts, if any, and gives the opportunity to replace the original requested artifacts with other artifacts. This can typically be used whenever you need to substitute a dependency with uses a classifier to a non-classified dependency, or the other way around.
Since
6.6
Functions
Link copied to clipboard
Returns the list of requested artifacts for the dependency
Link copied to clipboard
Returns true if the dependency has requested a special artifact (either classifier, type or extension)
Link copied to clipboard
abstract fun selectArtifact(type: String, @Nullable extension: String, @Nullable classifier: String)
Adds an artifact to substitute.
Link copied to clipboard
Removes all artifact selectors, if any.