|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectcom.evinceframework.gradle.dojoBuilder.BuildProfile
class BuildProfile
Defines settings for the build. These settings are used to build a profile to use when building. More information about the settings can be found at http://dojotoolkit.org/documentation/tutorials/1.8/build/
Property Summary | |
---|---|
java.lang.Object |
bootLayer
The default boot layer. |
java.lang.String |
cssOptimize
Deals with how CSS is optimized. |
java.lang.String |
filename
The filename to write the build profile to. |
java.lang.Object |
layerOptimize
Sets the minification setting for layers. |
java.lang.Object |
layers
This allows you to create different "layer" modules as part of a build that contain discreet functionality all built into single file. |
boolean |
mini
This determines if the build is a "mini" build or not. |
java.lang.Object |
optimize
Sets the minification for modules that aren't part of a layer. |
java.lang.Object |
packages
This is an array of hashes of package information which the builder uses when mapping modules. |
java.lang.String |
releaseName
This provides a name to a particular release when outputting it. |
java.lang.String |
selectorEngine
This identifies the default selector engine for the build and builds it into the code. |
java.lang.String |
stripConsole
This determines how console handling is dealt with in the output code. |
Constructor Summary | |
BuildProfile(DojoBuilderConvention convention)
Default constructor. |
Method Summary | |
---|---|
java.lang.Object
|
boot(java.lang.Object obj)
Define the boot layer for the custom build. |
java.lang.Object
|
configure(groovy.lang.Closure closure)
Allow for properties to be defined in a build script using a closure. |
java.lang.String
|
getBasePath()
This is the "root" of the build, from where the rest of the build will be calculated from. |
java.lang.String
|
getReleaseDir()
This is the root directory where the build should go. |
java.lang.Object
|
layer(java.lang.Object obj)
Add a non boot layer to the build profile. |
java.lang.Object
|
pkg(java.lang.Object obj)
Adds a package to the build profile. |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
java.lang.Object bootLayer
java.lang.String cssOptimize
java.lang.String filename
build.profile.js
java.lang.Object layerOptimize
java.lang.Object layers
boolean mini
java.lang.Object optimize
java.lang.Object packages
java.lang.String releaseName
java.lang.String selectorEngine
java.lang.String stripConsole
Constructor Detail |
---|
BuildProfile(DojoBuilderConvention convention)
Method Detail |
---|
java.lang.Object boot(java.lang.Object obj)
java.lang.Object configure(groovy.lang.Closure closure)
java.lang.String getBasePath()
java.lang.String getReleaseDir()
java.lang.Object layer(java.lang.Object obj)
java.lang.Object pkg(java.lang.Object obj)
Groovy Documentation