This is an automated email from the ASF dual-hosted git repository.

lcwik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 7a2411c  Fix broken build.
     new a1e644a  Merge pull request #12590 from lostluck/fixvendored
7a2411c is described below

commit 7a2411c99691c06acb3481c23bda90f114d9f273
Author: lostluck <[email protected]>
AuthorDate: Fri Aug 14 16:45:11 2020 -0700

    Fix broken build.
---
 build.gradle          |  1 +
 sdks/go/gogradle.lock | 17 +++++------------
 2 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/build.gradle b/build.gradle
index 44a9449..06716c4 100644
--- a/build.gradle
+++ b/build.gradle
@@ -188,6 +188,7 @@ task sqlPostCommit() {
 }
 
 task goPreCommit() {
+  dependsOn ":sdks:go:goBuild"
   dependsOn ":sdks:go:goTest"
 
   dependsOn ":sdks:go:examples:goBuild"
diff --git a/sdks/go/gogradle.lock b/sdks/go/gogradle.lock
index 6754757..a57228b 100644
--- a/sdks/go/gogradle.lock
+++ b/sdks/go/gogradle.lock
@@ -681,6 +681,11 @@ dependencies:
     commit: "7646b5360d049a7ca31e9133315db43456f39e2e"
     url: "https://github.com/grpc/grpc-go";
     transitive: false
+  - vcs: "git"
+    name: "google.golang.org/protobuf"
+    commit: "d165be301fb1e13390ad453281ded24385fd8ebc"
+    url: "https://go.googlesource.com/protobuf";
+    transitive: false
   - name: "gopkg.in/cheggaaa/pb.v1"
     host:
       name: "github.com/etcd-io/etcd"
@@ -702,20 +707,8 @@ dependencies:
     vendorPath: "vendor/gopkg.in/yaml.v2"
     transitive: false
   test:
-  - urls:
-    - "https://github.com/google/go-cmp.git";
-    - "[email protected]:google/go-cmp.git"
-    vcs: "git"
-    name: "github.com/google/go-cmp"
-    commit: "9680bfaf28748393e28e00238d94070fb9972fd8"
-    transitive: false
   - vcs: "git"
     name: "golang.org/x/xerrors"
     commit: "5ec99f83aff198f5fbd629d6c8d8eb38a04218ca"
     url: "https://go.googlesource.com/xerrors";
     transitive: false
-  - vcs: "git"
-    name: "google.golang.org/protobuf"
-    commit: "d165be301fb1e13390ad453281ded24385fd8ebc"
-    url: "https://go.googlesource.com/protobuf";
-    transitive: false

Reply via email to