api / org.gradle.plugins.javascript.coffeescript / CoffeeScriptCompile

CoffeeScriptCompile

open class CoffeeScriptCompile : SourceTask

Constructors

<init>

CoffeeScriptCompile()

Functions

doCompile

open fun doCompile(): Unit

getCoffeeScriptJs

open fun getCoffeeScriptJs(): FileCollection

getDestinationDir

open fun getDestinationDir(): File

getOptions

open fun getOptions(): CoffeeScriptCompileOptions

getRhinoClasspath

open fun getRhinoClasspath(): FileCollection

options

open fun options(action: Action<CoffeeScriptCompileOptions>): Unit
open fun options(closure: Closure<*>): Unit

setCoffeeScriptJs

open fun setCoffeeScriptJs(coffeeScriptJs: FileCollection): Unit

Sets Coffee Script Javascript file.

open fun setCoffeeScriptJs(coffeeScriptJs: Any): Unit

setDestinationDir

open fun setDestinationDir(destinationDir: File): Unit

Sets destination directory.

open fun setDestinationDir(destinationDir: Any): Unit

setRhinoClasspath

open fun setRhinoClasspath(rhinoClasspath: FileCollection): Unit

Sets Rhino classpath.

open fun setRhinoClasspath(rhinoClasspath: Any): Unit

Inherited Functions

exclude

open fun exclude(vararg excludes: String): SourceTask
open fun exclude(excludes: MutableIterable<String>): SourceTask
open fun exclude(excludeSpec: Spec<FileTreeElement>): SourceTask
open fun exclude(excludeSpec: Closure<Any>): SourceTask

{@inheritDoc}

getExcludes

open fun getExcludes(): MutableSet<String>

{@inheritDoc}

getIncludes

open fun getIncludes(): MutableSet<String>

{@inheritDoc}

getSource

open fun getSource(): FileTree

Returns the source for this task, after the include and exclude patterns have been applied. Ignores source files which do not exist.

include

open fun include(vararg includes: String): SourceTask
open fun include(includes: MutableIterable<String>): SourceTask
open fun include(includeSpec: Spec<FileTreeElement>): SourceTask
open fun include(includeSpec: Closure<Any>): SourceTask

{@inheritDoc}

setExcludes

open fun setExcludes(excludes: MutableIterable<String>): SourceTask

{@inheritDoc}

setIncludes

open fun setIncludes(includes: MutableIterable<String>): SourceTask

{@inheritDoc}

setSource

open fun setSource(source: FileTree): Unit

Sets the source for this task.

open fun setSource(source: Any): Unit

Sets the source for this task. The given source object is evaluated as per org.gradle.api.Project#files(Object...).

source

open fun source(vararg sources: Any): SourceTask

Adds some source to this task. The given source objects will be evaluated as per org.gradle.api.Project#files(Object...).

Inheritors

PlayCoffeeScriptCompile

open class PlayCoffeeScriptCompile : CoffeeScriptCompile

Task for compiling CoffeeScript sources into JavaScript.