Package org.gradle.api.artifacts
Schnittstelle ClientModule
- Alle Superschnittstellen:
Dependency,ExternalDependency,ExternalModuleDependency,HasAttributes,HasConfigurableAttributes<ModuleDependency>,ModuleDependency,ModuleVersionSelector
Veraltet.
To model a module in your dependency declarations. Usually you can either declare a single dependency
artifact or you declare a module dependency that depends on a module descriptor in a repository. With
a client module you can declare a module dependency without the need of a module descriptor in a
remote repository.
Client modules dependencies are deprecated and will be removed in Gradle 9.0. Please use component metadata rules instead.
- Siehe auch:
-
Feldübersicht
Von Schnittstelle geerbte Felder org.gradle.api.artifacts.Dependency
ARCHIVES_CONFIGURATION, CLASSIFIER, DEFAULT_CONFIGURATION -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddDependency(ModuleDependency dependency) Veraltet.Add a dependency to the client module.copy()Veraltet.Creates and returns a new dependency with the property values of this one.Veraltet.Returns all the dependencies added to the client module.getId()Veraltet.Returns the id of the client module.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.ExternalModuleDependency
isChanging, setChangingVon 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
-
addDependency
Veraltet.Add a dependency to the client module. Such a dependency is transitive dependency for the project that has a dependency on the client module.- Parameter:
dependency- The dependency to add to the client module.- Siehe auch:
-
getId
String getId()Veraltet.Returns the id of the client module. This is usually only used for internal handling of the client module.- Gibt zurück:
- The id of the client module
-
getDependencies
Set<ModuleDependency> getDependencies()Veraltet.Returns all the dependencies added to the client module.- Siehe auch:
-
copy
ClientModule copy()Veraltet.Creates and returns a new dependency with the property values of this one.- Angegeben von:
copyin SchnittstelleDependency- Angegeben von:
copyin SchnittstelleExternalDependency- Angegeben von:
copyin SchnittstelleExternalModuleDependency- Angegeben von:
copyin SchnittstelleModuleDependency- Gibt zurück:
- The copy. Never returns null.
-