6842842827
To avoid exposing compiler internal types inside Gradle DSL public api. ApiVersion and LanguageVersion in terms of compiler api is almost the same. Actually ApiVersion is generated based on LanguageVersion. To reduce user confusion what enum to use and what is the difference - in Gradle DSL they are now exposed as single enum - KotlinVersion. Mark KotlinVersion with DeprecationLevel.ERROR if related LanguageVersion is unsupported and with DeprecationLevel.WARNING if related LanguageVersion is deprecated. ^KT-27301 In Progress