KotlinCompileTool

interface KotlinCompileTool : PatternFilterable, Task

Represents a Kotlin task participating in some stage of the build by compiling sources or running additional Kotlin tools.

Inheritors

Properties

Link copied to clipboard
@get:OutputDirectory
abstract val destinationDirectory: DirectoryProperty

The destination directory where the task artifact can be found.

Link copied to clipboard
@get:Classpath
@get:Incremental
abstract val libraries: ConfigurableFileCollection

Collection of external artifacts participating in the output artifact generation.

Link copied to clipboard
@get:InputFiles
@get:SkipWhenEmpty
@get:IgnoreEmptyDirectories
@get:NormalizeLineEndings
@get:PathSensitive(value = PathSensitivity.RELATIVE)
abstract val sources: FileCollection

The configured task inputs (for example, Kotlin sources) which are used to produce a task artifact.

Functions

Link copied to clipboard
@Internal
abstract override fun getExcludes(): MutableSet<String>

Returns the set of exclude patterns.

Link copied to clipboard
@Internal
abstract override fun getIncludes(): MutableSet<String>

Returns the set of include patterns.

Link copied to clipboard
abstract fun setSource(vararg sources: Any)

Sets input sources for this task.

Link copied to clipboard
abstract fun source(vararg sources: Any)

Adds input sources for this task.