aboutsummaryrefslogtreecommitdiff
path: root/stub
diff options
context:
space:
mode:
authorSimon Horlick <simonhorlick@gmail.com>2017-06-23 04:06:49 +0800
committerEric Anderson <ejona@google.com>2017-06-22 13:06:49 -0700
commit6d9e149dcb1556d9a9626183b2484cfc24f647b4 (patch)
tree857dd0046f4703e6afa4108d35edd58e86d0c581 /stub
parent51ce204f53e235c7fc433f00a6dbb76a4f47b1f3 (diff)
downloadgrpc-grpc-java-6d9e149dcb1556d9a9626183b2484cfc24f647b4.tar.gz
build: Add Bazel java_grpc_library rule
Bazel third party dependencies are specified in repositories.bzl which gives the consumer the ability to opt-out of any dependencies they use directly in their own project. Fixes #2756
Diffstat (limited to 'stub')
-rw-r--r--stub/BUILD.bazel13
1 files changed, 13 insertions, 0 deletions
diff --git a/stub/BUILD.bazel b/stub/BUILD.bazel
new file mode 100644
index 000000000..24ee43461
--- /dev/null
+++ b/stub/BUILD.bazel
@@ -0,0 +1,13 @@
+java_library(
+ name = "stub",
+ srcs = glob([
+ "src/main/java/**/*.java",
+ ]),
+ visibility = ["//visibility:public"],
+ deps = [
+ "//context",
+ "//core",
+ "@com_google_code_findbugs_jsr305//jar",
+ "@com_google_guava//jar",
+ ],
+)