Package org.gradle.api.artifacts
Interface MinimalExternalModuleDependency
- All Superinterfaces:
- Dependency,- ExternalDependency,- ExternalModuleDependency,- HasAttributes,- HasConfigurableAttributes<ModuleDependency>,- ModuleDependency,- ModuleVersionSelector
The minimal information Gradle needs to address an external module.
- Since:
- 6.8
- 
Field SummaryFields inherited from interface org.gradle.api.artifacts.DependencyARCHIVES_CONFIGURATION, CLASSIFIER, DEFAULT_CONFIGURATION
- 
Method SummaryModifier and TypeMethodDescriptioncopy()Creates and returns a new dependency with the property values of this one.The module identifier of the component.Returns the version constraint to be used during selection.Methods inherited from interface org.gradle.api.artifacts.Dependencybecause, contentEquals, getGroup, getName, getReason, getVersionMethods inherited from interface org.gradle.api.artifacts.ExternalDependencyisForce, versionMethods inherited from interface org.gradle.api.artifacts.ExternalModuleDependencyisChanging, setChangingMethods inherited from interface org.gradle.api.artifacts.ModuleDependencyaddArtifact, artifact, artifact, attributes, capabilities, doNotEndorseStrictVersions, endorseStrictVersions, exclude, getArtifacts, getAttributes, getCapabilitySelectors, getExcludeRules, getRequestedCapabilities, getTargetConfiguration, isEndorsingStrictVersions, isTransitive, setTargetConfiguration, setTransitiveMethods inherited from interface org.gradle.api.artifacts.ModuleVersionSelectorgetGroup, getName, getVersion, matchesStrictly
- 
Method Details- 
getModuleModuleIdentifier getModule()Description copied from interface:ModuleVersionSelectorThe module identifier of the component. Returns the same information asModuleVersionSelector.getGroup()andModuleVersionSelector.getName().- Specified by:
- getModulein interface- ModuleVersionSelector
- Returns:
- the module identifier
 
- 
getVersionConstraintVersionConstraint getVersionConstraint()Description copied from interface:ExternalDependencyReturns the version constraint to be used during selection.- Specified by:
- getVersionConstraintin interface- ExternalDependency
- Returns:
- the version constraint
 
- 
copyCreates and returns a new dependency with the property values of this one.- Specified by:
- copyin interface- Dependency
- Specified by:
- copyin interface- ExternalDependency
- Specified by:
- copyin interface- ExternalModuleDependency
- Specified by:
- copyin interface- ModuleDependency
- Returns:
- The copy. Never returns null.
 
 
-