api / org.gradle.jvm / ClassDirectoryBinarySpec

ClassDirectoryBinarySpec

@Incubating interface ClassDirectoryBinarySpec : JvmBinarySpec

An exploded binary containing resources and compiled class files.

Inherited Functions

getClassesDir

abstract fun getClassesDir(): File

The classes directory for this binary.

getResourcesDir

abstract fun getResourcesDir(): File

The resources directory for this binary.

getTargetPlatform

abstract fun getTargetPlatform(): JavaPlatform

The target platform for this binary.

getToolChain

abstract fun getToolChain(): JavaToolChain

Returns the org.gradle.jvm.toolchain.JavaToolChain that will be used to build this binary.

setClassesDir

abstract fun setClassesDir(classesDir: File): Unit

Sets the classes directory for this binary.

setResourcesDir

abstract fun setResourcesDir(dir: File): Unit

Sets the resources directory for this binary.

setTargetPlatform

abstract fun setTargetPlatform(platform: JavaPlatform): Unit

Sets the target platform for this binary.

setToolChain

abstract fun setToolChain(toolChain: JavaToolChain): Unit

Sets the org.gradle.jvm.toolchain.JavaToolChain that will be used to build this binary.