echocat / gradle-golang-plugin

Gradle plugin to build, test and do other stuff of Golang projects.
https://github.com/echocat/gradle-golang-plugin
Mozilla Public License 2.0
44 stars 8 forks source link

Error download go toolchain for architecture armv #31

Open maksim77 opened 7 years ago

maksim77 commented 7 years ago

If you try to run a build on the arm platform (Raspberry for example) then we get the error:

:prepareToolchain FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':prepareToolchain'.
> Could not download https://storage.googleapis.com/golang/go1.8.linux-arm.tar.gz to /home/pi/.go/sdk/bootstrap.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

I guess the problem is that the plugin looks for the file: go1.8.linux-arm.tar.gz and actually his name is: go1.8.1.linux-armv6l.tar.gz