setSourceCompatibility

open fun setSourceCompatibility(sourceCompatibility: JavaVersion)

Sets the source compatibility for the compiler.