Package org.docstr.gwt
Class GwtBaseOptions
java.lang.Object
org.docstr.gwt.GwtBaseOptions
- Direct Known Subclasses:
GwtPluginExtension,GwtPluginExtension.CompilerOptions,GwtPluginExtension.DevModeOptions
Base options for GWT compiler and dev mode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.file.DirectoryProperty-Dgwt.persistentunitcachedir=[YourCacheDir]The directory to use for the persistent unit cacheabstract org.gradle.api.file.DirectoryProperty-deployThe 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)abstract org.gradle.api.provider.ListProperty<String>-includeJsInteropExports/excludeJsInteropExportsInclude/exclude members and classes while generating JsInterop exports.abstract org.gradle.api.file.DirectoryPropertygetExtra()-extraThe directory into which extra files, not intended for deployment, will be writtenabstract org.gradle.api.provider.Property<Boolean>-[no]failOnErrorFail compilation if any input file contains an error.abstract org.gradle.api.file.DirectoryPropertygetGen()-genabstract org.gradle.api.provider.Property<Boolean>-[no]generateJsInteropExportsGenerate exports for JsInterop purposes.abstract org.gradle.api.provider.ListProperty<String>-includeJsInteropExports/excludeJsInteropExportsInclude/exclude members and classes while generating JsInterop exports.abstract org.gradle.api.provider.Property<Boolean>-[no]incrementalCompiles faster by reusing data from the previous compile.abstract org.gradle.api.provider.Property<String>-logLevelabstract org.gradle.api.provider.Property<String>Maximum heap size for the JVMabstract org.gradle.api.provider.Property<String>-XmethodNameDisplayModeEXPERIMENTAL: Specifies method display name mode for chrome devtools: NONE, ONLY_METHOD_NAME, ABBREVIATED or FULL (defaults to NONE)abstract org.gradle.api.provider.Property<String>Minimum heap size for the JVMabstract org.gradle.api.provider.ListProperty<String>module[s]Specifies the name(s) of the module(s) to hostabstract org.gradle.api.provider.ListProperty<String>-setPropertySet the values of a property in the form of propertyName=value1[,value2...].abstract org.gradle.api.provider.Property<String>-sourceLevelSpecifies Java source level (defaults to 1.8)abstract org.gradle.api.provider.Property<String>getStyle()-styleScript output style: DETAILED, OBFUSCATED or PRETTY (defaults to OBFUSCATED)abstract org.gradle.api.file.DirectoryPropertygetWar()-warThe directory into which deployable output files will be written (defaults to 'war')abstract org.gradle.api.file.DirectoryProperty-workDir
-
Constructor Details
-
GwtBaseOptions
public GwtBaseOptions()
-
-
Method Details
-
getMinHeapSize
Minimum heap size for the JVM- Returns:
- The minimum heap size
-
getMaxHeapSize
Maximum heap size for the JVM- Returns:
- The maximum heap size
-
getLogLevel
-logLevelThe level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM or ALL (defaults to INFO)
- Returns:
- The log level
-
getWorkDir
public abstract org.gradle.api.file.DirectoryProperty getWorkDir()-workDirThe compiler's working directory for internal use (must be writeable; defaults to a system temp dir)
- Returns:
- The working directory
-
getGen
public abstract org.gradle.api.file.DirectoryProperty getGen()-genDebugging: causes normally-transient generated types to be saved in the specified directory
- Returns:
- The generated types directory
-
getWar
public abstract org.gradle.api.file.DirectoryProperty getWar()-warThe directory into which deployable output files will be written (defaults to 'war')- Returns:
- The war directory
-
getDeploy
public abstract org.gradle.api.file.DirectoryProperty getDeploy()-deployThe 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)- Returns:
- The deploy directory
-
getExtra
public abstract org.gradle.api.file.DirectoryProperty getExtra()-extraThe directory into which extra files, not intended for deployment, will be written- Returns:
- The extra directory
-
getCacheDir
public abstract org.gradle.api.file.DirectoryProperty getCacheDir()-Dgwt.persistentunitcachedir=[YourCacheDir]The directory to use for the persistent unit cache- Returns:
- The cache directory
-
getGenerateJsInteropExports
-[no]generateJsInteropExportsGenerate exports for JsInterop purposes. If no -includeJsInteropExport/-excludeJsInteropExport provided, generates all exports. (defaults to OFF)- Returns:
- The generate JsInterop exports flag
-
getIncludeJsInteropExports
-includeJsInteropExports/excludeJsInteropExportsInclude/exclude members and classes while generating JsInterop exports. Flag could be set multiple times to expand the pattern. (The flag has only effect if exporting is enabled via -generateJsInteropExports)- Returns:
- The include/exclude JsInterop exports
-
getExcludeJsInteropExports
-includeJsInteropExports/excludeJsInteropExportsInclude/exclude members and classes while generating JsInterop exports. Flag could be set multiple times to expand the pattern. (The flag has only effect if exporting is enabled via -generateJsInteropExports)- Returns:
- The include/exclude JsInterop exports
-
getMethodNameDisplayMode
-XmethodNameDisplayModeEXPERIMENTAL: Specifies method display name mode for chrome devtools: NONE, ONLY_METHOD_NAME, ABBREVIATED or FULL (defaults to NONE)- Returns:
- The method name display mode
-
getSourceLevel
-sourceLevelSpecifies Java source level (defaults to 1.8)- Returns:
- The source level
-
getIncremental
-[no]incrementalCompiles faster by reusing data from the previous compile. (defaults to OFF)- Returns:
- The incremental flag
-
getStyle
-styleScript output style: DETAILED, OBFUSCATED or PRETTY (defaults to OBFUSCATED)- Returns:
- The style
-
getFailOnError
-[no]failOnErrorFail compilation if any input file contains an error. (defaults to OFF)- Returns:
- The fail on error flag
-
getSetProperty
-setPropertySet the values of a property in the form of propertyName=value1[,value2...]. Example: -setProperties = ["user.agent=safari", "locale=default"] would add the parameters -setProperty user.agent=safari -setProperty locale=default- Returns:
- The set properties
-
getModules
module[s]Specifies the name(s) of the module(s) to host- Returns:
- The modules
-