You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.
I'm trying to set up a simple gradle/golang project that depends on Google's gRPC library. When I add other dependencies like protocol buffers, things seem to work as expected, but once I add gRPC I am seeing a clone exception.
Here's my sample build.gradle:
plugins {
id "org.echocat.golang" version "0.1.16"
}
group = 'github.com/breznik/myproject'
golang {
platforms = System.getProperty("platforms", "linux-amd64,darwin-amd64")
dependencies {
build 'github.com/golang/protobuf/proto'
build 'github.com/golang/protobuf/protoc-gen-go'
build 'google.golang.org/grpc'
}
}
The output is:
:baseValidate
:validate
:baseClean
:clean
:prepareToolchain
:baseGetTools
:getTools
:basePrepareSources
:prepareSources
:baseTest
:test
:baseBuild
Dependency golang.org/x/sync updated.
Dependency golang.org/x/net updated.
:baseBuild FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':baseBuild'.
> org.echocat.gradle.plugins.golang.vcs.VcsException: Cannot clone https://github.com/golang/genproto.git@unresolved to /Users/breznik/myproject/vendor/google.golang.org/genproto.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Doing a regular 'go get google.golang.org/grpc' seems to work fine in other projects. Is there something I'm doing wrong? I've also tried to pin the dependencies to specific versions, but that didn't seem to help.
The text was updated successfully, but these errors were encountered:
I'm trying to set up a simple gradle/golang project that depends on Google's gRPC library. When I add other dependencies like protocol buffers, things seem to work as expected, but once I add gRPC I am seeing a clone exception.
Here's my sample build.gradle:
The output is:
Doing a regular 'go get google.golang.org/grpc' seems to work fine in other projects. Is there something I'm doing wrong? I've also tried to pin the dependencies to specific versions, but that didn't seem to help.
The text was updated successfully, but these errors were encountered: