setTargetCompatibility

open fun setTargetCompatibility(targetCompatibility: JavaVersion)(source)

Sets the target compatibility for the compiler.