elasticsearch/distribution/tools/java-version-checker
Chris Hegarty d1d7aea720
Bump minimum targetCompatibility of java version checker to 1.8
Bump the minimum targetCompatibility of java version checker to 1.8 ( from 1.7 ).

JDK 20 has removed support for source and target 1.7 in javac [1], so to successfully build with JDK 20 (through JAVA_TOOLCHAIN_HOME), we can no longer specify targetCompatibility = JavaVersion.VERSION_1_7, for the java version checker.

The idea of the java version checker is to successfully run with "older" JDK's, but I think that 1.8 is presently more than sufficient. While we still don't "support" compiling with JDK 20, it is good to keep the project up to date, so we can more easily experiment with recent JDK's.
2023-06-08 09:58:17 +01:00
..
src Use multi-release-jar for java version checker (#85767) 2022-04-11 14:52:01 -07:00
build.gradle Bump minimum targetCompatibility of java version checker to 1.8 2023-06-08 09:58:17 +01:00