Package org.docstr.gradle.plugins.gwt
Class GwtPluginExtension
- java.lang.Object
-
- org.docstr.gradle.plugins.gwt.GwtPluginExtension
-
public class GwtPluginExtension extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GwtPluginExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GwtPluginExtensioncompiler(groovy.lang.Closure<GwtCompileOptions> c)GwtPluginExtensiondev(groovy.lang.Closure<GwtDevOptions> c)voiddevModules(java.lang.String... modules)java.io.FilegetCacheDir()GwtCompileOptionsgetCompiler()GwtDevOptionsgetDev()java.util.List<java.lang.String>getDevModules()java.io.FilegetDevWar()java.io.FilegetExtraDir()java.util.List<java.lang.String>getExtraJvmArgs()java.io.FilegetGenDir()java.lang.StringgetGwtVersion()java.lang.BooleangetIncremental()GwtJsInteropExportsOptionsgetJsInteropExports()JsInteropModegetJsInteropMode()LogLevelgetLogLevel()java.lang.StringgetMaxHeapSize()MethodNameDisplayModegetMethodNameDisplayMode()java.lang.StringgetMinHeapSize()java.lang.StringgetModulePathPrefix()java.util.List<java.lang.String>getModules()java.lang.StringgetSourceLevel()org.gradle.api.file.FileCollectiongetSrc()GwtSuperDevOptionsgetSuperDev()GwtTestOptionsgetTest()java.io.FilegetWorkDir()booleanisCodeserver()booleanisElemental()GwtPluginExtensionjsInteropExports(groovy.lang.Closure<GwtJsInteropExportsOptions> c)voidmodules(java.lang.String... modules)voidsetCacheDir(java.io.File cacheDir)voidsetCodeserver(boolean codeserver)voidsetDevModules(java.util.List<java.lang.String> devModules)voidsetDevWar(java.io.File devWar)voidsetElemental(boolean elemental)voidsetExtraDir(java.io.File extraDir)voidsetExtraJvmArgs(java.util.List<java.lang.String> extraJvmArgs)voidsetGenDir(java.io.File genDir)voidsetGwtVersion(java.lang.String gwtVersion)voidsetIncremental(java.lang.Boolean incremental)voidsetJsInteropMode(JsInteropMode jsInteropMode)voidsetLogLevel(LogLevel logLevel)voidsetMaxHeapSize(java.lang.String maxHeapSize)voidsetMethodNameDisplayMode(MethodNameDisplayMode methodNameDisplayMode)If set, this causes the "-XmethodNameDisplayMode" (added in GWT 2.7/2.8) parameter to be added.voidsetMinHeapSize(java.lang.String minHeapSize)voidsetModulePathPrefix(java.lang.String modulePathPrefix)voidsetModules(java.util.List<java.lang.String> modules)voidsetSourceLevel(java.lang.String sourceLevel)voidsetSrc(org.gradle.api.file.FileCollection src)voidsetWorkDir(java.io.File workDir)GwtPluginExtensionsuperDev(groovy.lang.Closure<GwtSuperDevOptions> c)GwtPluginExtensiontest(groovy.lang.Closure<GwtTestOptions> c)
-
-
-
Method Detail
-
getModules
public java.util.List<java.lang.String> getModules()
-
setModules
public void setModules(java.util.List<java.lang.String> modules)
-
modules
public void modules(java.lang.String... modules)
-
getGwtVersion
@Optional public java.lang.String getGwtVersion()
-
setGwtVersion
public void setGwtVersion(java.lang.String gwtVersion)
-
isCodeserver
public boolean isCodeserver()
-
setCodeserver
public void setCodeserver(boolean codeserver)
-
isElemental
public boolean isElemental()
-
setElemental
public void setElemental(boolean elemental)
-
getDevModules
public java.util.List<java.lang.String> getDevModules()
-
setDevModules
public void setDevModules(java.util.List<java.lang.String> devModules)
-
devModules
public void devModules(java.lang.String... modules)
-
getDevWar
public java.io.File getDevWar()
-
setDevWar
public void setDevWar(java.io.File devWar)
-
getExtraDir
public java.io.File getExtraDir()
-
setExtraDir
public void setExtraDir(java.io.File extraDir)
-
getWorkDir
public java.io.File getWorkDir()
-
setWorkDir
public void setWorkDir(java.io.File workDir)
-
getGenDir
public java.io.File getGenDir()
-
setGenDir
public void setGenDir(java.io.File genDir)
-
getCacheDir
public java.io.File getCacheDir()
-
setCacheDir
public void setCacheDir(java.io.File cacheDir)
-
getLogLevel
public LogLevel getLogLevel()
-
setLogLevel
public void setLogLevel(LogLevel logLevel)
-
getMinHeapSize
public java.lang.String getMinHeapSize()
-
setMinHeapSize
public void setMinHeapSize(java.lang.String minHeapSize)
-
getMaxHeapSize
public java.lang.String getMaxHeapSize()
-
setMaxHeapSize
public void setMaxHeapSize(java.lang.String maxHeapSize)
-
getExtraJvmArgs
public java.util.List<java.lang.String> getExtraJvmArgs()
-
setExtraJvmArgs
public void setExtraJvmArgs(java.util.List<java.lang.String> extraJvmArgs)
-
getJsInteropExports
public GwtJsInteropExportsOptions getJsInteropExports()
-
jsInteropExports
public GwtPluginExtension jsInteropExports(groovy.lang.Closure<GwtJsInteropExportsOptions> c)
-
getDev
public GwtDevOptions getDev()
-
dev
public GwtPluginExtension dev(groovy.lang.Closure<GwtDevOptions> c)
-
getSuperDev
public GwtSuperDevOptions getSuperDev()
-
superDev
public GwtPluginExtension superDev(groovy.lang.Closure<GwtSuperDevOptions> c)
-
getCompiler
public GwtCompileOptions getCompiler()
-
compiler
public GwtPluginExtension compiler(groovy.lang.Closure<GwtCompileOptions> c)
-
getTest
public GwtTestOptions getTest()
-
test
public GwtPluginExtension test(groovy.lang.Closure<GwtTestOptions> c)
-
getSrc
public org.gradle.api.file.FileCollection getSrc()
-
setSrc
public void setSrc(org.gradle.api.file.FileCollection src)
-
getSourceLevel
public java.lang.String getSourceLevel()
-
setSourceLevel
public void setSourceLevel(java.lang.String sourceLevel)
-
getIncremental
public java.lang.Boolean getIncremental()
-
setIncremental
public void setIncremental(java.lang.Boolean incremental)
-
getJsInteropMode
public JsInteropMode getJsInteropMode()
-
setJsInteropMode
public void setJsInteropMode(JsInteropMode jsInteropMode)
-
getModulePathPrefix
public java.lang.String getModulePathPrefix()
-
setModulePathPrefix
public void setModulePathPrefix(java.lang.String modulePathPrefix)
-
getMethodNameDisplayMode
public MethodNameDisplayMode getMethodNameDisplayMode()
-
setMethodNameDisplayMode
public void setMethodNameDisplayMode(MethodNameDisplayMode methodNameDisplayMode)
If set, this causes the "-XmethodNameDisplayMode" (added in GWT 2.7/2.8) parameter to be added.- Parameters:
methodNameDisplayMode- The method name display mode.
-
-