@Incubating open class JavaScriptMinify : SourceTask
Task to minify JavaScript assets.
JavaScriptMinify() |
open fun getDestinationDir(): File
Returns the output directory that processed JavaScript is written to. |
|
open fun getForkOptions(): BaseForkOptions
The fork options to be applied to the JavaScript compiler. |
|
open fun getToolChain(): PlayToolChain
Returns the tool chain that will be used to compile the JavaScript source. |
|
open fun setDestinationDir(destinationDir: File): Unit
Sets the output directory where processed JavaScript should be written. |
|
open fun setPlayPlatform(playPlatform: PlayPlatform): Unit
Sets the target Play platform. |
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} |
|
open fun getExcludes(): MutableSet<String>
{@inheritDoc} |
|
open fun getIncludes(): MutableSet<String>
{@inheritDoc} |
|
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. |
|
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} |
|
open fun setExcludes(excludes: MutableIterable<String>): SourceTask
{@inheritDoc} |
|
open fun setIncludes(includes: MutableIterable<String>): SourceTask
{@inheritDoc} |
|
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 |
|
open fun source(vararg sources: Any): SourceTask
Adds some source to this task. The given source objects will be evaluated as per |