gradle
8.4

# setSourceCompatibility

abstract fun setSourceCompatibility(value: Any)(source)

Sets the source compatibility used for compiling Java sources.

#### Parameters

value

The value for the source compatibility as defined by toVersion

abstract fun setSourceCompatibility(value: JavaVersion)(source)

Sets the source compatibility used for compiling Java sources.

#### Parameters

value

The value for the source compatibility