Java Version
An enumeration of Java versions. Before 9: http://www.oracle.com/technetwork/java/javase/versioning-naming-139433.html 9+: http://openjdk.java.net/jeps/223
Entries
Java 11 major version.
Java 12 major version.
Java 13 major version.
Java 14 major version.
Java 15 major version.
Java 16 major version.
Java 17 major version.
Java 18 major version.
Java 19 major version.
Java 20 major version.
Java 21 major version.
Java 22 major version.
Java 23 major version.
Java 24 major version. Not officially supported by Gradle. Use at your own risk.
Java 25 major version. Not officially supported by Gradle. Use at your own risk.
Java 26 major version. Not officially supported by Gradle. Use at your own risk.
Java 27 major version. Not officially supported by Gradle. Use at your own risk.
Higher version of Java.
Functions
JavaVersion
.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.