@Incubating public interface JvmBinarySpec extends BinarySpec
Named.Namer| Modifier and Type | Method and 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. |
getInputs, getSources, getTasks, isBuildablebuiltBy, getBuildTask, hasBuildDependencies, setBuildTaskgetBuildDependenciescheckedBy, getCheckTask, setCheckTaskgetProjectPathgetDisplayName, getNamegetDisplayNameJavaPlatform 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)