Skip to content

Commit

Permalink
Compile type_annotations as Java 8
Browse files Browse the repository at this point in the history
Rollback of f1308a0 + ecfc4fc, 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
  • Loading branch information
cushon authored and Error Prone Team committed Dec 2, 2024
1 parent fd6e017 commit 21878db
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions type_annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,18 @@
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>8</source>
<target>8</target>
<compilerArgs combine.self="override" />
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 21878db

Please sign in to comment.