-
Notifications
You must be signed in to change notification settings - Fork 3.9k
/
Copy pathBUILD.bazel
54 lines (49 loc) · 1.36 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
load("@rules_jvm_external//:defs.bzl", "artifact")
java_library(
name = "core",
visibility = ["//visibility:public"],
exports = ["//api"],
)
java_library(
name = "inprocess",
visibility = ["//visibility:public"],
exports = ["//inprocess"],
)
java_library(
name = "internal",
srcs = glob([
"src/main/java/io/grpc/internal/*.java",
]),
resources = glob([
"src/bazel-internal/resources/**",
]),
visibility = ["//:__subpackages__"],
deps = [
"//api",
"//context",
artifact("com.google.code.gson:gson"),
artifact("com.google.android:annotations"),
artifact("com.google.code.findbugs:jsr305"),
artifact("com.google.errorprone:error_prone_annotations"),
artifact("com.google.guava:guava"),
artifact("io.perfmark:perfmark-api"),
artifact("org.codehaus.mojo:animal-sniffer-annotations"),
],
)
java_library(
name = "util",
visibility = ["//visibility:public"],
exports = ["//util"],
)
# Mirrors the dependencies included in the artifact on Maven Central for usage
# with maven_install's override_targets. Should only be used as a dep for
# pre-compiled binaries on Maven Central.
java_library(
name = "core_maven",
visibility = ["//visibility:public"],
exports = [
":internal",
"//api",
"//util",
],
)