public class WasmTask
extends org.gradle.api.tasks.bundling.AbstractArchiveTask
| Constructor and Description |
|---|
WasmTask()
Create instance and set initial values.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.gradle.api.internal.file.copy.CopyAction |
createCopyAction() |
org.gradle.api.file.FileCollection |
getClasspath()
Returns the classpath to use to compile the wasm file.
|
java.lang.String |
getCompilerVersion()
Get the JWasmAssembler compiler version.
|
OutputFormat |
getFormat()
Get the output format.
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Get all properties
|
java.lang.String |
getProperty(java.lang.String key)
Get a property of the compiler
|
java.lang.String |
getSourceMapBase()
Get the source files location.
|
boolean |
isDebugNames()
Generates textual names for function types, globals, labels etc.
|
void |
setClasspath(org.gradle.api.file.FileCollection configuration)
Sets the classpath to use to compile the wasm file.
|
void |
setCompilerVersion(java.lang.String version)
Set the JWasmAssembler compiler version.
|
void |
setDebugNames(boolean debugNames)
Generates textual names for function types, globals, labels etc.
|
void |
setFormat(OutputFormat format)
Set the compiler output format.
|
void |
setProperty(java.lang.String key,
java.lang.String value)
Set a property for the compiler.
|
void |
setSourceMapBase(java.lang.String sourceMapBase)
Property for an absolute or relative path between the final wasm file location and the source files location.
|
createCopyActionExecuter, getAppendix, getArchiveName, getArchivePath, getBaseName, getClassifier, getDestinationDir, getExtension, getVersion, into, into, into, isPreserveFileTimestamps, isReproducibleFileOrder, setAppendix, setArchiveName, setBaseName, setClassifier, setDestinationDir, setExtension, setPreserveFileTimestamps, setReproducibleFileOrder, setVersioncopy, createRootSpec, eachFile, eachFile, exclude, exclude, exclude, exclude, expand, filesMatching, filesMatching, filesNotMatching, filesNotMatching, filter, filter, filter, filter, from, from, from, getDirectoryFileTreeFactory, getDirMode, getDuplicatesStrategy, getExcludes, getFileLookup, getFileMode, getFileResolver, getFileSystem, getFilteringCharset, getIncludeEmptyDirs, getIncludes, getInstantiator, getMainSpec, getRootSpec, getSource, include, include, include, include, isCaseSensitive, rename, rename, rename, rename, setCaseSensitive, setDirMode, setDuplicatesStrategy, setExcludes, setFileMode, setFilteringCharset, setIncludeEmptyDirs, setIncludes, withconventionMapping, conventionMapping, getConventionMappingnewInputDirectory, newInputFile, newOutputDirectory, newOutputFileaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doFirst, doLast, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString@Input public java.lang.String getCompilerVersion()
public void setCompilerVersion(java.lang.String version)
version - the new version@Input public OutputFormat getFormat()
public void setFormat(OutputFormat format)
format - the new format@Input public boolean isDebugNames()
public void setDebugNames(boolean debugNames)
debugNames - new value@Input public java.lang.String getSourceMapBase()
public void setSourceMapBase(java.lang.String sourceMapBase)
sourceMapBase - new value@Input public java.util.Map<java.lang.String,java.lang.String> getProperties()
public java.lang.String getProperty(java.lang.String key)
key - the name of the propertypublic void setProperty(java.lang.String key,
java.lang.String value)
key - the property keyvalue - the value@CompileClasspath public org.gradle.api.file.FileCollection getClasspath()
public void setClasspath(org.gradle.api.file.FileCollection configuration)
configuration - The classpath. Must not be null, but may be empty.protected org.gradle.api.internal.file.copy.CopyAction createCopyAction()
createCopyAction in class org.gradle.api.tasks.AbstractCopyTask