Package org.gradle.api.artifacts
Schnittstelle ExternalModuleDependency
- Alle Superschnittstellen:
Dependency,ExternalDependency,HasAttributes,HasConfigurableAttributes<ModuleDependency>,ModuleDependency,ModuleVersionSelector
- Alle bekannten Unterschnittstellen:
ClientModule,MinimalExternalModuleDependency
A ExternalModuleDependency is a Dependency on a module outside the current project hierarchy.
-
Feldübersicht
Von Schnittstelle geerbte Felder org.gradle.api.artifacts.Dependency
ARCHIVES_CONFIGURATION, CLASSIFIER, DEFAULT_CONFIGURATION -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcopy()Creates and returns a new dependency with the property values of this one.booleanIndicates that the given dependency can have different content for the same identifier.setChanging(boolean changing) Sets the dependency as "changing" or "not changing".Von Schnittstelle geerbte Methoden org.gradle.api.artifacts.Dependency
because, contentEquals, getGroup, getName, getReason, getVersionVon Schnittstelle geerbte Methoden org.gradle.api.artifacts.ExternalDependency
getVersionConstraint, isForce, versionVon Schnittstelle geerbte Methoden org.gradle.api.artifacts.ModuleDependency
addArtifact, artifact, artifact, attributes, capabilities, doNotEndorseStrictVersions, endorseStrictVersions, exclude, getArtifacts, getAttributes, getCapabilitySelectors, getExcludeRules, getRequestedCapabilities, getTargetConfiguration, isEndorsingStrictVersions, isTransitive, setTargetConfiguration, setTransitiveVon Schnittstelle geerbte Methoden org.gradle.api.artifacts.ModuleVersionSelector
getGroup, getModule, getName, getVersion, matchesStrictly
-
Methodendetails
-
isChanging
boolean isChanging()Indicates that the given dependency can have different content for the same identifier.- Siehe auch:
-
setChanging
Sets the dependency as "changing" or "not changing". If set to true, the dependency is marked as "changing." Gradle will periodically check the remote repository for updates, even if the local cache entry has not yet expired. Defaults to false.- Parameter:
changing- if true, the dependency is considered changing and Gradle should check for a change in the remote repository, even if a local entry exists.- Gibt zurück:
- this
-
copy
ExternalModuleDependency copy()Creates and returns a new dependency with the property values of this one.- Angegeben von:
copyin SchnittstelleDependency- Angegeben von:
copyin SchnittstelleExternalDependency- Angegeben von:
copyin SchnittstelleModuleDependency- Gibt zurück:
- The copy. Never returns null.
-