public class Kotlin2JsTask
extends KotlinCompilerBaseTask
| Constructor and Description |
|---|
Kotlin2JsTask() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tools.ant.types.Path |
createLibrary() |
void |
fillSpecificArguments() |
java.lang.String |
getCompilerFqName() |
org.apache.tools.ant.types.Path |
getLibrary() |
java.lang.String |
getMain()
{@link K2JsArgumentConstants.CALL} (default) if need generate a main function call (main function will be auto detected)
{@link K2JsArgumentConstants.NO_CALL} otherwise.
|
boolean |
getMetaInfo() |
java.lang.String |
getModuleKind() |
java.io.File |
getOutputPostfix() |
java.io.File |
getOutputPrefix() |
boolean |
getSourceMap() |
void |
setLibrary(org.apache.tools.ant.types.Path p) |
void |
setMain(java.lang.String p)
{@link K2JsArgumentConstants.CALL} (default) if need generate a main function call (main function will be auto detected)
{@link K2JsArgumentConstants.NO_CALL} otherwise.
|
void |
setMetaInfo(boolean p) |
void |
setModuleKind(java.lang.String p) |
void |
setOutputPostfix(java.io.File p) |
void |
setOutputPrefix(java.io.File p) |
void |
setSourceMap(boolean p) |
createCompilerArg, createSrc, execute, fillArguments, fillSpecificArguments, getAdditionalArguments, getArgs, getCompilerFqName, getExitCode, getFailOnError, getNoStdlib, getNowarn, getOutput, getPrintVersion, getSrc, getVerbose, setExitCode, setFailOnError, setNoStdlib, setNowarn, setOutput, setPrintVersion, setSrc, setSrcRef, setVerbosepublic java.lang.String getCompilerFqName()
public org.apache.tools.ant.types.Path getLibrary()
public void setLibrary(org.apache.tools.ant.types.Path p)
public java.io.File getOutputPrefix()
public void setOutputPrefix(java.io.File p)
public java.io.File getOutputPostfix()
public void setOutputPostfix(java.io.File p)
public boolean getSourceMap()
public void setSourceMap(boolean p)
public boolean getMetaInfo()
public void setMetaInfo(boolean p)
public java.lang.String getModuleKind()
public void setModuleKind(java.lang.String p)
public java.lang.String getMain()
{@link K2JsArgumentConstants.CALL} (default) if need generate a main function call (main function will be auto detected) {@link K2JsArgumentConstants.NO_CALL} otherwise.
public void setMain(java.lang.String p)
{@link K2JsArgumentConstants.CALL} (default) if need generate a main function call (main function will be auto detected) {@link K2JsArgumentConstants.NO_CALL} otherwise.
public org.apache.tools.ant.types.Path createLibrary()
public void fillSpecificArguments()