Commit 36e63da6 authored by Jakob Buchgraber's avatar Jakob Buchgraber

bazel: Make compiled jars java 6 binary compatible.

See: https://github.com/bazelbuild/bazel/issues/3198
parent 91bf623a
......@@ -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",
......
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