Binary
, BinarySpec
, Buildable
, BuildableComponentSpec
, CheckableComponentSpec
, ComponentSpec
, ModelElement
, Named
ClassDirectoryBinarySpec
, JarBinarySpec
, JUnitTestSuiteBinarySpec
, JvmTestSuiteBinarySpec
@Incubating public interface JvmBinarySpec extends BinarySpec
Named.Namer
Modifier and Type | Method | Description |
---|---|---|
File |
getClassesDir() |
The classes directory for this binary.
|
File |
getResourcesDir() |
The resources directory for this binary.
|
JavaPlatform |
getTargetPlatform() |
The target platform for this binary.
|
JavaToolChain |
getToolChain() |
Returns the
JavaToolChain that will be used to build this binary. |
void |
setClassesDir(File classesDir) |
Sets the classes directory for this binary.
|
void |
setResourcesDir(File dir) |
Sets the resources directory for this binary.
|
void |
setTargetPlatform(JavaPlatform platform) |
Sets the target platform for this binary.
|
void |
setToolChain(JavaToolChain toolChain) |
Sets the
JavaToolChain that will be used to build this binary. |
getDisplayName
getInputs, getSources, getTasks, isBuildable
getBuildDependencies
builtBy, getBuildTask, hasBuildDependencies, setBuildTask
checkedBy, getCheckTask, setCheckTask
getProjectPath
getDisplayName, getName
JavaPlatform getTargetPlatform()
void setTargetPlatform(JavaPlatform platform)
JavaToolChain getToolChain()
JavaToolChain
that will be used to build this binary.void setToolChain(JavaToolChain toolChain)
JavaToolChain
that will be used to build this binary.File getClassesDir()
void setClassesDir(File classesDir)
File getResourcesDir()
void setResourcesDir(File dir)