Class GoBuild
- java.lang.Object
-
- org.gradle.api.internal.AbstractTask
-
- org.gradle.api.DefaultTask
-
- com.github.blindpirate.gogradle.task.AbstractGolangTask
-
- com.github.blindpirate.gogradle.Go
-
- com.github.blindpirate.gogradle.task.go.GoBuild
-
- All Implemented Interfaces:
java.lang.Comparable<org.gradle.api.Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.api.Task,org.gradle.util.Configurable<org.gradle.api.Task>
public class GoBuild extends Go
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.github.blindpirate.gogradle.Go
Go.BuildFunction, Go.ClosureLineConsumer, Go.GoAction
-
-
Field Summary
-
Fields inherited from class com.github.blindpirate.gogradle.Go
buildManager, continueOnFailure, environment, exitValues, goActions, stderrLineConsumer, stdoutLineConsumer
-
-
Constructor Summary
Constructors Constructor Description GoBuild()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidafterEvaluate()java.lang.StringgetOutputLocation()voidsetOutputLocation(java.lang.String outputLocation)voidsetTargetPlatform(java.lang.String targetPlatform)Deprecated.voidsetTargetPlatform(java.util.List<java.lang.String> targetPlatformList)-
Methods inherited from class com.github.blindpirate.gogradle.Go
addGoAction, appendTo, devNull, environment, environment, executeTask, getExitValue, getExitValues, getGoActions, go, go, go, go, run, run, run, run, setContinueOnFailure, setContinueWhenFail, stderr, stderr, stdout, stdout, writeTo
-
Methods inherited from class com.github.blindpirate.gogradle.task.AbstractGolangTask
getProjectDir, getTask, setGogradleGlobalContext
-
Methods inherited from class org.gradle.api.DefaultTask
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
-
Methods inherited from class org.gradle.api.internal.AbstractTask
addValidator, 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
-
-
-
-
Method Detail
-
setOutputLocation
public void setOutputLocation(java.lang.String outputLocation)
-
afterEvaluate
public void afterEvaluate()
- Overrides:
afterEvaluatein classAbstractGolangTask
-
getOutputLocation
public java.lang.String getOutputLocation()
-
setTargetPlatform
@Deprecated public void setTargetPlatform(java.lang.String targetPlatform)
Deprecated.
-
setTargetPlatform
public void setTargetPlatform(java.util.List<java.lang.String> targetPlatformList)
-
-