gradle
8.3

# setSourceCompatibility

abstract fun setSourceCompatibility(value: Any)

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)

Sets the source compatibility used for compiling Java sources.

#### Parameters

value

The value for the source compatibility