class GoPlugin extends java.lang.Object
| Modifiers | Name | Description |
|---|---|---|
static class |
GoPlugin.GoPluginExtension |
| Type | Name and description |
|---|---|
void |
apply(org.gradle.api.Project project) |
static void |
ensureGoTools(java.io.File goroot, java.lang.String version)Ensures that golang is installed in the given directory. |
static java.lang.String |
guessCanonicalImport(java.io.File root) |
static boolean |
isGoFile(java.lang.Object file) |
static java.io.File |
relativeTo(java.io.File file, java.io.File base) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Ensures that golang is installed in the given directory. The go binary is then found under $goroot/bin/go.