Merge pull request #3235 from buchgr/java-target

bazel: Make compiled jars java 6 binary compatible.
This commit is contained in:
Feng Xiao 2017-06-16 11:37:48 -07:00 committed by GitHub
commit 888e287e3b

3
BUILD
View file

@ -600,7 +600,7 @@ java_library(
]) + [
":gen_well_known_protos_java",
],
javacopts = ["-source 6"],
javacopts = ["-source 6", "-target 6"],
visibility = ["//visibility:public"],
)
@ -609,6 +609,7 @@ java_library(
srcs = glob([
"java/util/src/main/java/com/google/protobuf/util/*.java",
]),
javacopts = ["-source 6", "-target 6"],
visibility = ["//visibility:public"],
deps = [
"protobuf_java",