This PR improves passing freeCompilerArgs in KotlinCompile.setFreeCompilerArgs() extension function. Previously, we always passed the flag, which resulted in "unsupported flag" warning emitted by Kotlin compilers before 1.9.20.
Now the flag is added depending on the current Kotlin version.
This PR improves passing
freeCompilerArgs
inKotlinCompile.setFreeCompilerArgs()
extension function. Previously, we always passed the flag, which resulted in "unsupported flag" warning emitted by Kotlin compilers before 1.9.20. Now the flag is added depending on the current Kotlin version.