Commit 888e287e authored by Feng Xiao's avatar Feng Xiao Committed by GitHub

Merge pull request #3235 from buchgr/java-target

bazel: Make compiled jars java 6 binary compatible.
parents 91bf623a 36e63da6
...@@ -600,7 +600,7 @@ java_library( ...@@ -600,7 +600,7 @@ java_library(
]) + [ ]) + [
":gen_well_known_protos_java", ":gen_well_known_protos_java",
], ],
javacopts = ["-source 6"], javacopts = ["-source 6", "-target 6"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
) )
...@@ -609,6 +609,7 @@ java_library( ...@@ -609,6 +609,7 @@ java_library(
srcs = glob([ srcs = glob([
"java/util/src/main/java/com/google/protobuf/util/*.java", "java/util/src/main/java/com/google/protobuf/util/*.java",
]), ]),
javacopts = ["-source 6", "-target 6"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"protobuf_java", "protobuf_java",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment