From 21878db3f81b16c8ac1da4f7c8ac96e230c2cd3b Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Mon, 25 Nov 2024 15:27:26 -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: 700118371 --- 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 + + + + +