From 8ec552e84a7e354eedf58ea9c0bd6e9da7160870 Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Mon, 2 Dec 2024 09:41:36 -0800 Subject: [PATCH] Compile type_annotations as Java 8 Rollback of https://github.com/google/error-prone/commit/f1308a004e113b70958358e6baea118f41a0ea5c + https://github.com/google/error-prone/commit/ecfc4fcca76a402992667d37dc7ed67caeafca09, see discussion in unknown commit JDK 17+ is required for running the Error Prone static analysis tool as part of builds, but this keeps library jars that are used by projects that don't build with Error Prone as compatible as possible. PiperOrigin-RevId: 701997140 --- type_annotations/pom.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/type_annotations/pom.xml b/type_annotations/pom.xml index e04034cd3e9..365123af188 100644 --- a/type_annotations/pom.xml +++ b/type_annotations/pom.xml @@ -43,4 +43,18 @@ http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 8 + 8 + + + + +