public class DependenciesDelegate
extends java.lang.Object
Constructor and Description |
---|
DependenciesDelegate(org.savantbuild.dep.domain.Dependencies dependencies) |
Modifier and Type | Method and Description |
---|---|
org.savantbuild.dep.domain.DependencyGroup |
group(java.util.Map<java.lang.String,java.lang.Object> attributes,
groovy.lang.Closure closure)
Defines a group in the dependencies.
|
public DependenciesDelegate(org.savantbuild.dep.domain.Dependencies dependencies)
public org.savantbuild.dep.domain.DependencyGroup group(java.util.Map<java.lang.String,java.lang.Object> attributes, @DelegatesTo(value=DependencyDelegate.class) groovy.lang.Closure closure)
type
attribute is
required. The export
attribute is optional. This also takes a closure that defines the dependencies.attributes
- The attributesclosure
- The closure that defines the dependencies.