public class DefaultBinary extends Object implements Binary
Named.Namer| Constructor and Description |
|---|
DefaultBinary(String name,
ProjectInternal project,
CompileSpecFactory specFactory) |
| Modifier and Type | Method and Description |
|---|---|
TaskDependency |
getBuildDependencies()
Returns a dependency which contains the tasks which build this artifact.
|
String |
getName()
The object's name.
|
ProjectInternal |
getProject()
Returns the project that this binary is built by.
|
DomainObjectSet<SourceSet> |
getSourceSets() |
CompileSpec |
getSpec() |
CompileSpec |
spec(Closure closure) |
public DefaultBinary(String name, ProjectInternal project, CompileSpecFactory specFactory)
public String getName()
NamedMust be constant for the life of the object.
public TaskDependency getBuildDependencies()
BuildableBuildable implementations
must ensure that the returned dependency object is live, so that it tracks changes to the dependencies of this
buildable.getBuildDependencies in interface Buildablepublic ProjectInternal getProject()
BinarygetProject in interface Binarypublic CompileSpec getSpec()
public DomainObjectSet<SourceSet> getSourceSets()
getSourceSets in interface Binarypublic CompileSpec spec(Closure closure)
Copyright © 2013. All rights reserved