SpineEventEngine / config

Dependencies and build configurations shared among subprojects
https://spine.io
Apache License 2.0
2 stars 3 forks source link

Do not use flag `-Xexpect-actual-classes` Kotlin compiler flag before 1.9.20 #512

Closed alexander-yevsyukov closed 4 months ago

alexander-yevsyukov commented 4 months ago

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.