Skip to content

Commit

Permalink
bazel: Make compiled jars java 6 binary compatible.
Browse files Browse the repository at this point in the history
  • Loading branch information
buchgr committed Jun 16, 2017
1 parent 91bf623 commit 36e63da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ java_library(
]) + [
":gen_well_known_protos_java",
],
javacopts = ["-source 6"],
javacopts = ["-source 6", "-target 6"],
visibility = ["//visibility:public"],
)

Expand All @@ -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",
Expand Down

0 comments on commit 36e63da

Please sign in to comment.