diff options
author | Steven Parkes <smparkes@smparkes.net> | 2016-03-10 17:50:25 -0800 |
---|---|---|
committer | Steven Parkes <smparkes@smparkes.net> | 2016-03-11 18:08:09 -0800 |
commit | a9244ca0dfea15b024df5a81b948d09907fa3970 (patch) | |
tree | f132fb3648fe54cfab8519297dfb727df0e92aa2 | |
parent | c71f1847c889073f5036f4be8b76973e19e16631 (diff) |
add java/util support based on java/util/pom.xml
-rw-r--r-- | BUILD | 13 | ||||
-rw-r--r-- | WORKSPACE | 20 |
2 files changed, 33 insertions, 0 deletions
@@ -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 ################################################################################ @@ -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", +) |