api / org.gradle.jvm / JarBinarySpec / TasksCollection

TasksCollection

interface TasksCollection : BinaryTasksCollection

Provides access to key tasks used for building the binary.

Functions

getJar

abstract fun getJar(): Task

The jar task used to create an archive for this binary.

Inherited Functions

create

abstract fun <T : Task> create(name: String, type: Class<T>, config: Action<in T>): Unit

getBuild

abstract fun getBuild(): Task

The task that can be used to assemble this binary.

getCheck

abstract fun getCheck(): Task

The task that can be used to check this binary.

taskName

abstract fun taskName(verb: String): String
abstract fun taskName(verb: String, object: String): String

Generates a name for a task that performs some action on the binary.