defaultJavaSourceCompatibility

@get:Internal(value = "Used to compute javac option.")
abstract val defaultJavaSourceCompatibility: Property<String>

Java source compatibility in the form of the Java language level for the produced class files and Java source code.

Check the javac -source command line option description for the possible values for the Java language level.

See also