gradle-defaults / com.mooregreatsoftware.gradle.defaults / DefaultsExtension / compatibilityVersion

compatibilityVersion

open val compatibilityVersion: JavaVersion

Overrides ReadableDefaultsExtension.compatibilityVersion

The version of the Java Virtual Machine to target. Used for all the compilers that target the JVM. Defaults to the version of Java being used to run Gradle and compile the code.

Getter

The version of the Java Virtual Machine to target. Used for all the compilers that target the JVM. Defaults to the version of Java being used to run Gradle and compile the code.