From 36e63da6323a3a6b0652de33faf37f83ed45892a Mon Sep 17 00:00:00 2001 From: Jakob Buchgraber Date: Fri, 16 Jun 2017 12:41:40 +0200 Subject: bazel: Make compiled jars java 6 binary compatible. See: https://github.com/bazelbuild/bazel/issues/3198 --- BUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'BUILD') diff --git a/BUILD b/BUILD index 1f467cca..5102d6ff 100644 --- a/BUILD +++ b/BUILD @@ -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", -- cgit v1.2.3