Class GwtBaseOptions

java.lang.Object
org.docstr.gwt.GwtBaseOptions
Direct Known Subclasses:
GwtPluginExtension, GwtPluginExtension.CompilerOptions, GwtPluginExtension.DevModeOptions

public abstract class GwtBaseOptions extends Object
Base options for GWT compiler and dev mode
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract org.gradle.api.file.DirectoryProperty
    -Dgwt.persistentunitcachedir=[YourCacheDir] The directory to use for the persistent unit cache
    abstract org.gradle.api.file.DirectoryProperty
    -deploy 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)
    abstract org.gradle.api.provider.ListProperty<String>
    -includeJsInteropExports/excludeJsInteropExports Include/exclude members and classes while generating JsInterop exports.
    abstract org.gradle.api.file.DirectoryProperty
    -extra The directory into which extra files, not intended for deployment, will be written
    abstract org.gradle.api.provider.Property<Boolean>
    -[no]failOnError Fail compilation if any input file contains an error.
    abstract org.gradle.api.file.DirectoryProperty
    -gen
    abstract org.gradle.api.provider.Property<Boolean>
    -[no]generateJsInteropExports Generate exports for JsInterop purposes.
    abstract org.gradle.api.provider.ListProperty<String>
    -includeJsInteropExports/excludeJsInteropExports Include/exclude members and classes while generating JsInterop exports.
    abstract org.gradle.api.provider.Property<Boolean>
    -[no]incremental Compiles faster by reusing data from the previous compile.
    abstract org.gradle.api.provider.Property<String>
    -logLevel
    abstract org.gradle.api.provider.Property<String>
    Maximum heap size for the JVM
    abstract org.gradle.api.provider.Property<String>
    -XmethodNameDisplayMode EXPERIMENTAL: 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 JVM
    abstract org.gradle.api.provider.ListProperty<String>
    module[s] Specifies the name(s) of the module(s) to host
    abstract org.gradle.api.provider.ListProperty<String>
    -setProperty Set the values of a property in the form of propertyName=value1[,value2...].
    abstract org.gradle.api.provider.Property<String>
    -sourceLevel Specifies Java source level (defaults to 1.8)
    abstract org.gradle.api.provider.Property<String>
    -style Script output style: DETAILED, OBFUSCATED or PRETTY (defaults to OBFUSCATED)
    abstract org.gradle.api.file.DirectoryProperty
    -war The directory into which deployable output files will be written (defaults to 'war')
    abstract org.gradle.api.file.DirectoryProperty
    -workDir

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GwtBaseOptions

      public GwtBaseOptions()
  • Method Details

    • getMinHeapSize

      public abstract org.gradle.api.provider.Property<String> getMinHeapSize()
      Minimum heap size for the JVM
      Returns:
      The minimum heap size
    • getMaxHeapSize

      public abstract org.gradle.api.provider.Property<String> getMaxHeapSize()
      Maximum heap size for the JVM
      Returns:
      The maximum heap size
    • getLogLevel

      public abstract org.gradle.api.provider.Property<String> getLogLevel()
      -logLevel

      The 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()
      -workDir

      The 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()
      -gen

      Debugging: 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()
      -war The 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()
      -deploy 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)
      Returns:
      The deploy directory
    • getExtra

      public abstract org.gradle.api.file.DirectoryProperty getExtra()
      -extra The 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

      public abstract org.gradle.api.provider.Property<Boolean> getGenerateJsInteropExports()
      -[no]generateJsInteropExports Generate exports for JsInterop purposes. If no -includeJsInteropExport/-excludeJsInteropExport provided, generates all exports. (defaults to OFF)
      Returns:
      The generate JsInterop exports flag
    • getIncludeJsInteropExports

      public abstract org.gradle.api.provider.ListProperty<String> getIncludeJsInteropExports()
      -includeJsInteropExports/excludeJsInteropExports Include/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

      public abstract org.gradle.api.provider.ListProperty<String> getExcludeJsInteropExports()
      -includeJsInteropExports/excludeJsInteropExports Include/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

      public abstract org.gradle.api.provider.Property<String> getMethodNameDisplayMode()
      -XmethodNameDisplayMode EXPERIMENTAL: 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

      public abstract org.gradle.api.provider.Property<String> getSourceLevel()
      -sourceLevel Specifies Java source level (defaults to 1.8)
      Returns:
      The source level
    • getIncremental

      public abstract org.gradle.api.provider.Property<Boolean> getIncremental()
      -[no]incremental Compiles faster by reusing data from the previous compile. (defaults to OFF)
      Returns:
      The incremental flag
    • getStyle

      public abstract org.gradle.api.provider.Property<String> getStyle()
      -style Script output style: DETAILED, OBFUSCATED or PRETTY (defaults to OBFUSCATED)
      Returns:
      The style
    • getFailOnError

      public abstract org.gradle.api.provider.Property<Boolean> getFailOnError()
      -[no]failOnError Fail compilation if any input file contains an error. (defaults to OFF)
      Returns:
      The fail on error flag
    • getSetProperty

      public abstract org.gradle.api.provider.ListProperty<String> getSetProperty()
      -setProperty Set 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

      public abstract org.gradle.api.provider.ListProperty<String> getModules()
      module[s] Specifies the name(s) of the module(s) to host
      Returns:
      The modules