@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.
|
JvmBinaryTasks |
getTasks()
The set of tasks associated with this binary.
|
JavaToolChain |
getToolChain()
Returns the
JavaToolChain that will be used to build this binary. |
org.gradle.platform.base.internal.toolchain.ToolResolver |
getToolResolver()
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. |
void |
setToolResolver(org.gradle.platform.base.internal.toolchain.ToolResolver toolResolver) |
getDisplayName, getSource, isBuildable, source, sources, tasks
builtBy, getBuildTask, hasBuildDependencies, setBuildTask
getBuildDependencies
JvmBinaryTasks getTasks()
getTasks
in interface BinarySpec
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.org.gradle.platform.base.internal.toolchain.ToolResolver getToolResolver()
JavaToolChain
that will be used to build this binary.void setToolResolver(org.gradle.platform.base.internal.toolchain.ToolResolver toolResolver)
File getClassesDir()
void setClassesDir(File classesDir)
File getResourcesDir()
void setResourcesDir(File dir)