@Incubating interface JvmBinarySpec : BinarySpec
Represents a binary artifact that is the result of building a jvm component.
abstract fun getClassesDir(): File
The classes directory for this binary. |
|
abstract fun getResourcesDir(): File
The resources directory for this binary. |
|
abstract fun getTargetPlatform(): JavaPlatform
The target platform for this binary. |
|
abstract fun getToolChain(): JavaToolChain
Returns the org.gradle.jvm.toolchain.JavaToolChain that will be used to build this binary. |
|
abstract fun setClassesDir(classesDir: File): Unit
Sets the classes directory for this binary. |
|
abstract fun setResourcesDir(dir: File): Unit
Sets the resources directory for this binary. |
|
abstract fun setTargetPlatform(platform: JavaPlatform): Unit
Sets the target platform for this binary. |
|
abstract fun setToolChain(toolChain: JavaToolChain): Unit
Sets the org.gradle.jvm.toolchain.JavaToolChain that will be used to build this binary. |
abstract fun getInputs(): DomainObjectSet<LanguageSourceSet>
Returns all inputs of the binary. This includes source sets owned by the binary, and other source sets created elsewhere (e.g. inherited from the binary's component). |
|
abstract fun getSources(): ModelMap<LanguageSourceSet>
The sources owned by this binary. |
|
abstract fun getTasks(): BinaryTasksCollection
The set of tasks associated with this binary. |
|
abstract fun isBuildable(): Boolean
Can this binary be built in the current environment? |
interface ClassDirectoryBinarySpec : JvmBinarySpec
An exploded binary containing resources and compiled class files. |
|
interface JarBinarySpec : LibraryBinarySpec, JvmBinarySpec
Definition of a Jar file binary that is to be built by Gradle. |
|
interface JvmTestSuiteBinarySpec : TestSuiteBinarySpec, JvmBinarySpec, WithDependencies
Base type of JVM test suite binaries. |