add java/util support based on java/util/pom.xml
This commit is contained in:
parent
c71f1847c8
commit
a9244ca0df
2 changed files with 33 additions and 0 deletions
13
BUILD
13
BUILD
|
@ -472,6 +472,19 @@ java_library(
|
|||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
java_library(
|
||||
name = "protobuf_java_util",
|
||||
srcs = glob([
|
||||
"java/util/src/main/java/com/google/protobuf/util/*.java",
|
||||
]),
|
||||
deps = [
|
||||
"protobuf_java",
|
||||
"//external:gson",
|
||||
"//external:guava",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
################################################################################
|
||||
# Python support
|
||||
################################################################################
|
||||
|
|
20
WORKSPACE
20
WORKSPACE
|
@ -31,3 +31,23 @@ bind(
|
|||
name = "six",
|
||||
actual = "@six_archive//:six",
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = "guava_maven",
|
||||
artifact = "com.google.guava:guava:18.0",
|
||||
)
|
||||
|
||||
bind(
|
||||
name = "guava",
|
||||
actual = "@guava_maven//jar",
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = "gson_maven",
|
||||
artifact = "com.google.code.gson:gson:2.3",
|
||||
)
|
||||
|
||||
bind(
|
||||
name = "gson",
|
||||
actual = "@gson_maven//jar",
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue