|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.tooling.model.ExternalDependencyorg.gradle.api.artifacts.ClientModule
org.gradle.api.artifacts.Dependency
public interface ClientModule extends ExternalDependency
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.
Field Summary |
---|
Fields inherited from interface Dependency | |
---|---|
ARCHIVES_CONFIGURATION, CLASSIFIER, DEFAULT_CONFIGURATION |
Method Summary | |
---|---|
void
|
addDependency(ModuleDependency dependency)
Add a dependency to the client module. |
ClientModule
|
copy()
{@inheritDoc} |
Set
|
getDependencies()
Returns all the dependencies added to the client module. |
String
|
getId()
Returns the id of the client module. |
Methods inherited from interface ExternalDependency | |
---|---|
getFile, getGradleModuleVersion, getJavadoc, getSource |
Methods inherited from interface Dependency | |
---|---|
contentEquals, copy, getGroup, getName, getVersion |
Method Detail |
---|
public void addDependency(ModuleDependency dependency)
dependency
- The dependency to add to the client module.
public ClientModule copy()
public Set getDependencies()
public String getId()
Gradle API 1.12