@Incubating interface JarBinarySpec : LibraryBinarySpec, JvmBinarySpec
Definition of a Jar file binary that is to be built by Gradle.
interface TasksCollection : BinaryTasksCollection
Provides access to key tasks used for building the binary. |
abstract fun getApiJarFile(): File
The API jar file output for this binary. |
|
abstract fun getExportedPackages(): MutableSet<String> |
|
abstract fun getId(): LibraryBinaryIdentifier
The unique identifier of this JarBinarySpec. |
|
abstract fun getJarFile(): File
The jar file output for this binary. |
|
abstract fun getLibrary(): JvmLibrarySpec
{@inheritDoc} |
|
abstract fun getTasks(): TasksCollection
{@inheritDoc} |
|
abstract fun setApiJarFile(jarFile: File): Unit
Sets the API jar file output for this binary. |
|
abstract fun setExportedPackages(exportedPackages: MutableSet<String>): Unit |
|
abstract fun setJarFile(jarFile: File): Unit
Sets the jar file output for this binary. |
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. |