Dependency, ExternalDependency, ExternalModuleDependency, HasAttributes, HasConfigurableAttributes<ModuleDependency>, ModuleDependency, ModuleVersionSelector@Deprecated public interface ClientModule extends ExternalModuleDependency
Client modules dependencies are deprecated and will be removed in Gradle 9.0. Please use component metadata rules instead.
DependencyHandlerARCHIVES_CONFIGURATION, CLASSIFIER, DEFAULT_CONFIGURATION| Modifier and Type | Method | Description |
|---|---|---|
void |
addDependency(ModuleDependency dependency) |
Deprecated.
Add a dependency to the client module.
|
ClientModule |
copy() |
Deprecated.
Creates and returns a new dependency with the property values of this one.
|
java.util.Set<ModuleDependency> |
getDependencies() |
Deprecated.
Returns all the dependencies added to the client module.
|
java.lang.String |
getId() |
Deprecated.
Returns the id of the client module.
|
because, contentEquals, getGroup, getName, getReason, getVersiongetVersionConstraint, isForce, versionisChanging, setChangingaddArtifact, artifact, artifact, attributes, capabilities, doNotEndorseStrictVersions, endorseStrictVersions, exclude, getArtifacts, getAttributes, getExcludeRules, getRequestedCapabilities, getTargetConfiguration, isEndorsingStrictVersions, isTransitive, setTargetConfiguration, setTransitivegetGroup, getModule, getName, getVersion, matchesStrictlyvoid addDependency(ModuleDependency dependency)
dependency - The dependency to add to the client module.getDependencies()java.lang.String getId()
java.util.Set<ModuleDependency> getDependencies()
addDependency(ModuleDependency)ClientModule copy()
copy in interface Dependencycopy in interface ExternalDependencycopy in interface ExternalModuleDependencycopy in interface ModuleDependency