|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.api.artifacts.ExternalDependencyorg.gradle.api.artifacts.Dependency
org.gradle.api.artifacts.ModuleDependency
org.gradle.api.artifacts.ClientModule
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 | |
---|---|
java.lang.String |
CLIENT_MODULE_KEY
|
Method Summary | |
---|---|
void
|
addDependency(ModuleDependency dependency)
Add a dependency to the client module. |
ClientModule
|
copy()
{ |
Set
|
getDependencies()
Returns all the dependencies added to the client module. |
java.lang.String
|
getId()
Returns the id of the client module. |
Methods inherited from interface ExternalDependency | |
---|---|
copy, isForce, setForce |
Methods inherited from interface ModuleDependency | |
---|---|
addArtifact, copy, exclude, getArtifacts, getConfiguration, getExcludeRules, isTransitive, setTransitive |
Methods inherited from interface Dependency | |
---|---|
contentEquals, copy, getGroup, getName, getVersion |
Field Detail |
---|
java.lang.String CLIENT_MODULE_KEY
Method Detail |
---|
public void addDependency(ModuleDependency dependency)
public ClientModule copy()
public Set getDependencies()
public java.lang.String getId()
Groovy Documentation