open fun setTargetCompatibility(value: Any): Unit
Sets the target compatibility used for compiling Java sources.
value
- The value for the target compatibility as defined by JavaVersion#toVersion(Object)
open fun setTargetCompatibility(value: JavaVersion): Unit
Sets the target compatibility used for compiling Java sources.