diff --git a/api/BUILD b/api/BUILD index 112ac639..b31b26de 100644 --- a/api/BUILD +++ b/api/BUILD @@ -39,7 +39,7 @@ java_library( STACK_GETTER_JAVA_LANG_ACCESS_IMPL_SRCS + STACK_GETTER_COMMON_SRCS + CHECKS, ), - javacopts = ["-source 7 -target 7"], + javacopts = ["-source 8 -target 8"], tags = ["maven_coordinates=com.google.flogger:flogger:${project.version}"], visibility = ["//visibility:public"], exports = [":checks"], @@ -77,7 +77,7 @@ STACK_GETTER_COMMON=$(location :stack_getter_common) CHECKS=$(location :checks) JAVABASE=$$PWD/$(JAVABASE) JAR=$$PWD/$(JAVABASE)/bin/jar -$$JAVABASE/bin/javac -d $$TMPDIR -source 7 -target 7 -cp $${STACK_GETTER_COMMON}:$${CHECKS} -implicit:none \ +$$JAVABASE/bin/javac -d $$TMPDIR -source 8 -target 8 -cp $${STACK_GETTER_COMMON}:$${CHECKS} -implicit:none \ $(location src/main/java/com/google/common/flogger/util/JavaLangAccessStackGetter.java) cd $$TMPDIR && $$JAR cf $$OUTPUT com/google/common/flogger/util/*StackGetter*.class """, @@ -111,14 +111,14 @@ cd $$TMPDIR && $$JAR cf $$OUTPUT com/google/common/flogger/util/*StackGetter*.cl java_library( name = "stack_getter_common", srcs = STACK_GETTER_COMMON_SRCS, - javacopts = ["-source 7 -target 7"], + javacopts = ["-source 8 -target 8"], deps = [":checks"], ) java_library( name = "checks", srcs = CHECKS, - javacopts = ["-source 7 -target 7"], + javacopts = ["-source 8 -target 8"], deps = [ "@google_bazel_common//third_party/java/error_prone:annotations", ], @@ -159,7 +159,7 @@ javadoc_library( java_library( name = "system_backend", srcs = SYSTEM_BACKEND_SRCS, - javacopts = ["-source 7 -target 7"], + javacopts = ["-source 8 -target 8"], tags = ["maven_coordinates=com.google.flogger:flogger-system-backend:${project.version}"], visibility = ["//visibility:public"], deps = [ diff --git a/log4j/BUILD b/log4j/BUILD index 33fe2b4b..cdac5eaf 100644 --- a/log4j/BUILD +++ b/log4j/BUILD @@ -16,7 +16,7 @@ LOG4J_BACKEND_RESOURCES = glob(["src/main/resources/**"]) java_library( name = "log4j_backend", srcs = LOG4J_BACKEND_SRCS, - javacopts = ["-source 7 -target 7"], + javacopts = ["-source 8 -target 8"], resources = LOG4J_BACKEND_RESOURCES, tags = ["maven_coordinates=com.google.flogger:flogger-log4j-backend:${project.version}"], deps = [ diff --git a/slf4j/BUILD b/slf4j/BUILD index 5eaf1652..77278dfb 100644 --- a/slf4j/BUILD +++ b/slf4j/BUILD @@ -15,7 +15,7 @@ SLF4J_BACKEND_RESOURCES = glob(["src/main/resources/**"]) java_library( name = "slf4j_backend", srcs = SLF4J_BACKEND_SRCS, - javacopts = ["-source 7 -target 7"], + javacopts = ["-source 8 -target 8"], resources = SLF4J_BACKEND_RESOURCES, tags = ["maven_coordinates=com.google.flogger:flogger-slf4j-backend:${project.version}"], deps = [