yshrsmz / BuildKonfig

BuildConfig for Kotlin Multiplatform Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Kotlin 1.9.0?

sakalaus opened this issue · comments

commented

Hi.

Apparently the latest BuildKonfig version 0.13.3 is not compatible with Kotlin 1.9.0 and newer.

Would you like to contribute?

Also, repro is greatly appreciated.

commented

Here are some problems I have encountered:

"Android" function has been renamed to "Android target".
https://kotlinlang.org/docs/multiplatform-compatibility-guide.html#rename-of-android-target-to-androidtarget

Also, there's a new concept of Default hierarchy https://kotlinlang.org/docs/multiplatform-hierarchy.html#default-hierarchy. If you try to use it in the build.gradle, you will get "Unresolved reference: targetHierarchy".

commented

v0.14.0 works fine. Thank you!