Package io.freefair.gradle.plugins.gwt
Interface GwtCompileOptions
-
- All Superinterfaces:
CommonGwtToolOptions
- All Known Implementing Classes:
GwtCompileTask
public interface GwtCompileOptions extends CommonGwtToolOptions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Property<Boolean>
getCheckAssertions()
Include assert statements in compiled output.Property<Boolean>
getCompileReport()
Compile a report that tells the "Story of Your Compile".DirectoryProperty
getDeploy()
The directory into which deployable but not servable output files will be written (defaults to 'WEB-INF/deploy' under the -war directory/jar, and may be the same as the -extra directory/jar)Property<Boolean>
getDraftCompile()
Compile quickly with minimal optimizations.DirectoryProperty
getExtra()
The directory into which extra files, not intended for deployment, will be writtenDirectoryProperty
getGen()
Debugging: causes normally-transient generated types to be saved in the specified directoryProperty<Integer>
getLocalWorkers()
The number of local workers to use when compiling permutationsProperty<Integer>
getOptimize()
Sets the optimization level used by the compiler.Property<Boolean>
getSaveSource()
Enables saving source code needed by debuggers.DirectoryProperty
getSaveSourceOutput()
Overrides where source files useful to debuggers will be written.Property<Boolean>
getValidateOnly()
Validate all source code, but do not compile.DirectoryProperty
getWar()
The directory into which deployable output files will be written (defaults to 'war')Property<Boolean>
getXcheckCasts()
EXPERIMENTAL: DEPRECATED: use jre.checks.checkLevel instead.Property<Boolean>
getXclassMetadata()
EXPERIMENTAL: Include metadata for some java.lang.Class methods (e.g.Property<Boolean>
getXClosureFormattedOutput()
EXPERIMENTAL: Enables Javascript output suitable for post-compilation by Closure Compiler (defaults to OFF)Property<Integer>
getXfragmentCount()
EXPERIMENTAL: Limits of number of fragments using a code splitter that merges split points.Property<String>
getXnamespace()
Puts most JavaScript globals into namespaces.-
Methods inherited from interface io.freefair.gradle.plugins.gwt.CommonGwtToolOptions
getExcludeJsInteropExports, getFailOnError, getGenerateJsInteropExports, getIncludeJsInteropExports, getIncremental, getLogLevel, getModule, getSetProperty, getSourceLevel, getStyle, getWorkDir, getXmethodNameDisplayMode
-
-
-
-
Method Detail
-
getXClosureFormattedOutput
@Optional @Input Property<Boolean> getXClosureFormattedOutput()
EXPERIMENTAL: Enables Javascript output suitable for post-compilation by Closure Compiler (defaults to OFF)
-
getCompileReport
@Optional @Input Property<Boolean> getCompileReport()
Compile a report that tells the "Story of Your Compile". (defaults to OFF)
-
getXcheckCasts
@Optional @Input Property<Boolean> getXcheckCasts()
EXPERIMENTAL: DEPRECATED: use jre.checks.checkLevel instead. (defaults to OFF)
-
getXclassMetadata
@Optional @Input Property<Boolean> getXclassMetadata()
EXPERIMENTAL: Include metadata for some java.lang.Class methods (e.g. getName()). (defaults to ON)
-
getDraftCompile
@Optional @Input Property<Boolean> getDraftCompile()
Compile quickly with minimal optimizations. (defaults to OFF)
-
getCheckAssertions
@Optional @Input Property<Boolean> getCheckAssertions()
Include assert statements in compiled output. (defaults to OFF)
-
getXfragmentCount
@Optional @Input Property<Integer> getXfragmentCount()
EXPERIMENTAL: Limits of number of fragments using a code splitter that merges split points.
-
getGen
@Optional @OutputDirectory DirectoryProperty getGen()
Debugging: causes normally-transient generated types to be saved in the specified directory
-
getXnamespace
@Optional @Input Property<String> getXnamespace()
Puts most JavaScript globals into namespaces. Default: PACKAGE for -draftCompile, otherwise NONE
-
getOptimize
@Optional @Input Property<Integer> getOptimize()
Sets the optimization level used by the compiler. 0=none 9=maximum.
-
getSaveSource
@Optional @Input Property<Boolean> getSaveSource()
Enables saving source code needed by debuggers. Also see -debugDir. (defaults to OFF)
-
getValidateOnly
@Optional @Input Property<Boolean> getValidateOnly()
Validate all source code, but do not compile. (defaults to OFF)
-
getLocalWorkers
@Optional @Input Property<Integer> getLocalWorkers()
The number of local workers to use when compiling permutations
-
getWar
@OutputDirectory DirectoryProperty getWar()
The directory into which deployable output files will be written (defaults to 'war')
-
getDeploy
@Optional @OutputDirectory DirectoryProperty getDeploy()
The directory into which deployable but not servable output files will be written (defaults to 'WEB-INF/deploy' under the -war directory/jar, and may be the same as the -extra directory/jar)
-
getExtra
@Optional @OutputDirectory DirectoryProperty getExtra()
The directory into which extra files, not intended for deployment, will be written
-
getSaveSourceOutput
@Optional @OutputDirectory DirectoryProperty getSaveSourceOutput()
Overrides where source files useful to debuggers will be written. Default: saved with extras.
-
-