ClojureScriptBuild

Represents ClojureScript source code that should be compiled as a unit.

Properties

Property Type Description

outputDir

DirectoryProperty

Directory compiled JavaScript will be written to (if compiler is configured)

classpath

ConfigurableFileCollection

Classpath to use when checking/compiling

sourceRoots

ConfigurableFileCollection

Directories to use as roots for source code (will be added to the classpath)

sourceTree

FileTree

READ ONLY Tree of source files (starting from sourceRoots)

compiler

ClojureScriptCompileOptions

Configure the ClojureScript compiler for the build’s ClojureScriptCompile task

figwheel

FigwheelOptions

Configure Figwheel options for use by clojurephant-tooling

Methods

Method Description

void compiler(Action<? super ClojureScriptCompilerOptions> action)

Allows configuring the compiler options in a block

void figwheel(Action<? super FigwheelOptions> action)

Allows configuring the figwheel options in a block

Example