@groovy.transform.CompileStatic class DependencyContainer extends java.lang.Object
Cnotains the dependencies for a specific Rust configuration.
Constructor and description |
---|
DependencyContainer
(java.lang.String name) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
add(java.lang.String s) |
|
void |
add(groovy.lang.Closure depSpec) Creates, configures and adds a dependency using a configurating closure. |
|
void |
add(ConfigurableDependency dep, groovy.lang.Closure depSpec) Configures and adds a dependency using a configurating closure. |
|
void |
add(org.gradle.api.Action<RustConfigurableDependency> depSpec) Creates, configures and adds a dependency using a configurating action. |
|
void |
add(ConfigurableDependency dep, org.gradle.api.Action<RustConfigurableDependency> depSpec) Configures and adds a dependency using a configurating action. |
|
java.lang.Iterable<RustDependency> |
getDependencies() |
|
java.lang.String |
getName() |
|
java.util.Map<java.lang.String, java.lang.Iterable<RustDependency>> |
getTargetDependencies() Dependencies that are Target (platform) specific. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Creates, configures and adds a dependency using a configurating closure.
Configures and adds a dependency using a configurating closure.
dep
- Dependency to adddepSpec
- Specification for configuring the dependencyCreates, configures and adds a dependency using a configurating action.
depSpec
- Specification to configure newly created dependency/Configures and adds a dependency using a configurating action.
dep
- Dependency to adddepSpec
- Specification to configuare supplied dependencyDependencies that are Target (platform) specific.