Minimal External Module Dependency
The minimal information Gradle needs to address an external module.
Since
6.8
Functions
Link copied to clipboard
Adds an artifact to this dependency.
Link copied to clipboard
abstract fun artifact(@DelegatesTo(value = DependencyArtifact::class, strategy = 1 ) configureClosure: Closure): DependencyArtifact
Adds an artifact to this dependency.
Link copied to clipboard
Mutates the attributes of this dependency.
Configure the attribute container that provides the attributes associated with this domain object.
Link copied to clipboard
abstract fun capabilities(configureAction: Action<in ModuleDependencyCapabilitiesHandler>): ModuleDependency
Configures the requested capabilities of this dependency.
Link copied to clipboard
Creates and returns a new dependency with the property values of this one.
Link copied to clipboard
Resets the isEndorsingStrictVersions state of this dependency.
Link copied to clipboard
Endorse version constraints with getStrictVersion strict versions} from the target module.
Link copied to clipboard
Returns the artifacts belonging to this dependency.
Link copied to clipboard
Returns the attributes for this dependency.
Link copied to clipboard
Returns the set of capabilities that are requested for this dependency
Link copied to clipboard
Returns the exclude rules for this dependency.
Link copied to clipboard
The module identifier of the component.
Link copied to clipboard
Returns the explicitly requested capabilities for this dependency.
Link copied to clipboard
Returns the requested target configuration of this dependency.
Link copied to clipboard
The version of the module.
Link copied to clipboard
Returns the version constraint to be used during selection.
Link copied to clipboard
Indicates that the given dependency can have different content for the same identifier.
Link copied to clipboard
Are the getStrictVersion strict version} dependency constraints of the target module endorsed?
Link copied to clipboard
Returns whether this dependency should be resolved including or excluding its transitive dependencies.
Link copied to clipboard
To match strictly means that the given identifier needs to have equal group, module name and version.
Link copied to clipboard
Sets the dependency as "changing" or "not changing".
Link copied to clipboard
Sets the requested target configuration of this dependency.
Link copied to clipboard
Sets whether this dependency should be resolved including or excluding its transitive dependencies.
Link copied to clipboard
Configures the version constraint for this dependency.