Class GwtBaseTask

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.internal.ConventionTask
org.gradle.api.tasks.JavaExec
org.docstr.gwt.GwtBaseTask
All Implemented Interfaces:
Comparable<org.gradle.api.Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, org.gradle.api.Named, org.gradle.api.plugins.ExtensionAware, org.gradle.api.Task, org.gradle.process.BaseExecSpec, org.gradle.process.JavaExecSpec, org.gradle.process.JavaForkOptions, org.gradle.process.ProcessForkOptions, org.gradle.util.Configurable<org.gradle.api.Task>
Direct Known Subclasses:
GwtCompileTask, GwtDevModeTask

public abstract class GwtBaseTask extends org.gradle.api.tasks.JavaExec
Base class for several GWT related tasks that share specific parameters.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.gradle.api.Task

    org.gradle.api.Task.Namer
  • Field Summary

    Fields inherited from interface org.gradle.api.Task

    TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
  • Constructor Summary

    Constructors
    Constructor
    Description
    GwtBaseTask(org.gradle.api.model.ObjectFactory objects)
    Constructs a new GwtCompileTask.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    final org.gradle.api.file.DirectoryProperty
    The directory to use for the persistent unit cache
    final org.gradle.api.file.DirectoryProperty
    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)
    final org.gradle.api.provider.ListProperty<String>
    Exclude members and classes while generating JsInterop exports
    final org.gradle.api.file.DirectoryProperty
    The directory into which extra files, not intended for deployment, will be written
    final org.gradle.api.provider.Property<Boolean>
    Fail on errors
    final org.gradle.api.file.DirectoryProperty
    Debugging: causes normally-transient generated types to be saved in the specified directory
    final org.gradle.api.provider.Property<Boolean>
    Generate exports for JsInterop purposes.
    final org.gradle.api.provider.ListProperty<String>
    Include members and classes while generating JsInterop exports
    final org.gradle.api.provider.Property<Boolean>
    Incremental compilation
    final org.gradle.api.provider.Property<String>
    The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM or ALL (defaults to INFO)
    final org.gradle.api.provider.Property<String>
    The method name display mode
    final org.gradle.api.provider.ListProperty<String>
    The modules to run
    final org.gradle.api.provider.ListProperty<String>
    Set the values of a property in the form of propertyName=value1[,value2...].
    final org.gradle.api.provider.Property<String>
    The source level of the java code
    final org.gradle.api.provider.Property<String>
    The style of output JavaScript: OBF, PRETTY, DETAILED, or DRAFT (defaults to OBF)
    final org.gradle.api.file.DirectoryProperty
    The directory into which deployable output files will be written (defaults to 'war')
    final org.gradle.api.file.DirectoryProperty
    The compiler's working directory for internal use (must be writeable; defaults to a system temp dir)

    Methods inherited from class org.gradle.api.tasks.JavaExec

    args, args, bootstrapClasspath, classpath, copyTo, copyTo, debugOptions, environment, environment, executable, getAllJvmArgs, getArgs, getArgumentProviders, getBootstrapClasspath, getClasspath, getCommandLine, getDebug, getDebugOptions, getDefaultCharacterEncoding, getEnableAssertions, getEnvironment, getErrorOutput, getExecActionFactory, getExecutable, getExecutionResult, getJavaLauncher, getJavaToolchainService, getJavaVersion, getJvmArgs, getJvmArgumentProviders, getJvmArguments, getMainClass, getMainModule, getMaxHeapSize, getMinHeapSize, getModularity, getObjectFactory, getProviderFactory, getStandardInput, getStandardOutput, getSystemProperties, getWorkingDir, isIgnoreExitValue, jvmArgs, jvmArgs, setAllJvmArgs, setAllJvmArgs, setArgs, setArgs, setArgsString, setBootstrapClasspath, setClasspath, setDebug, setDefaultCharacterEncoding, setEnableAssertions, setEnvironment, setErrorOutput, setExecutable, setExecutable, setIgnoreExitValue, setJvmArgs, setJvmArgs, setMaxHeapSize, setMinHeapSize, setStandardInput, setStandardOutput, setSystemProperties, setWorkingDir, setWorkingDir, systemProperties, systemProperty, workingDir

    Methods inherited from class org.gradle.api.internal.ConventionTask

    conventionMapping, conventionMapping, getConventionMapping

    Methods inherited from class org.gradle.api.DefaultTask

    compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService

    Methods inherited from class org.gradle.api.internal.AbstractTask

    acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.gradle.process.JavaExecSpec

    setMain

    Methods inherited from interface org.gradle.api.Task

    doNotTrackState, getConvention, notCompatibleWithConfigurationCache
  • Constructor Details

    • GwtBaseTask

      @Inject public GwtBaseTask(org.gradle.api.model.ObjectFactory objects)
      Constructs a new GwtCompileTask.
      Parameters:
      objects - The object factory
  • Method Details

    • exec

      public void exec()
      Overrides:
      exec in class org.gradle.api.tasks.JavaExec
    • getLogLevel

      public final org.gradle.api.provider.Property<String> getLogLevel()
      The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM or ALL (defaults to INFO)
      Returns:
      The log level
    • getGen

      public final org.gradle.api.file.DirectoryProperty getGen()
      Debugging: causes normally-transient generated types to be saved in the specified directory
      Returns:
      The generated types directory
    • getWar

      public final org.gradle.api.file.DirectoryProperty getWar()
      The directory into which deployable output files will be written (defaults to 'war')
      Returns:
      The war directory
    • getDeploy

      public final org.gradle.api.file.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)
      Returns:
      The deploy directory
    • getExtra

      public final org.gradle.api.file.DirectoryProperty getExtra()
      The directory into which extra files, not intended for deployment, will be written
      Returns:
      The extra directory
    • getWorkDir

      public final org.gradle.api.file.DirectoryProperty getWorkDir()
      The compiler's working directory for internal use (must be writeable; defaults to a system temp dir)
      Returns:
      The working directory
    • getCacheDir

      public final org.gradle.api.file.DirectoryProperty getCacheDir()
      The directory to use for the persistent unit cache
      Returns:
      The cache directory
    • getSourceLevel

      public final org.gradle.api.provider.Property<String> getSourceLevel()
      The source level of the java code
      Returns:
      The source level
    • getMethodNameDisplayMode

      public final org.gradle.api.provider.Property<String> getMethodNameDisplayMode()
      The method name display mode
      Returns:
      The method name display mode
    • getGenerateJsInteropExports

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

      public final org.gradle.api.provider.ListProperty<String> getIncludeJsInteropExports()
      Include members and classes while generating JsInterop exports
      Returns:
      The include JsInterop exports
    • getExcludeJsInteropExports

      public final org.gradle.api.provider.ListProperty<String> getExcludeJsInteropExports()
      Exclude members and classes while generating JsInterop exports
      Returns:
      The exclude JsInterop exports
    • getStyle

      public final org.gradle.api.provider.Property<String> getStyle()
      The style of output JavaScript: OBF, PRETTY, DETAILED, or DRAFT (defaults to OBF)
      Returns:
      The style
    • getFailOnError

      public final org.gradle.api.provider.Property<Boolean> getFailOnError()
      Fail on errors
      Returns:
      The fail on error flag
    • getSetProperty

      public final org.gradle.api.provider.ListProperty<String> getSetProperty()
      Set the values of a property in the form of propertyName=value1[,value2...].
      Returns:
      The set property
    • getIncremental

      public final org.gradle.api.provider.Property<Boolean> getIncremental()
      Incremental compilation
      Returns:
      The incremental flag
    • getModules

      public final org.gradle.api.provider.ListProperty<String> getModules()
      The modules to run
      Returns:
      The modules