Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.79 KB

clojurescriptbuild.adoc

File metadata and controls

56 lines (40 loc) · 1.79 KB

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

dsl/clojurescriptcompileoptions.adoc

Configure the ClojureScript compiler for the build’s tasks/clojurescriptcompile.adoc task

figwheel

dsl/figwheeloptions.adoc

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