public class PrepareToolchain extends GolangTask
| Constructor and Description |
|---|
PrepareToolchain() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
bootstrapGoBinaryVersion() |
protected boolean |
build(Platform platform,
boolean force) |
protected boolean |
buildHostIfRequired() |
protected boolean |
buildTargetsIfRequired() |
protected void |
downloadBootstrapIfRequired() |
protected void |
downloadSourcesIfRequired() |
protected java.net.URI |
downloadUri() |
protected java.net.URI |
downloadUriForBootstrap() |
protected java.lang.String |
goBinaryVersion() |
protected java.lang.String |
readGoVersionFrom(java.io.File goroot) |
void |
run() |
getBuild, getDependencies, getDependencyHandler, getGlobalSettings, getGolang, getSettings, getTaskSettings, getTesting, getToolchain, runBareaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toStringpublic void run()
throws java.lang.Exception
run in class GolangTaskjava.lang.Exceptionprotected boolean buildHostIfRequired()
throws java.lang.Exception
java.lang.Exceptionprotected boolean buildTargetsIfRequired()
throws java.lang.Exception
java.lang.Exceptionprotected boolean build(Platform platform, boolean force) throws java.lang.Exception
java.lang.Exceptionprotected void downloadSourcesIfRequired()
protected java.lang.String readGoVersionFrom(java.io.File goroot)
protected java.lang.String goBinaryVersion()
protected java.net.URI downloadUri()
protected void downloadBootstrapIfRequired()
protected java.lang.String bootstrapGoBinaryVersion()
protected java.net.URI downloadUriForBootstrap()