yshrsmz/BuildKonfig

Java version compatibility

sanders9 opened this issue · 2 comments

It'd seem that since 0.10.1 the java compatibility has been broken.

Kotlin: 1.5.30
Gradle: 7.2
BuildKonfig: since 0.10.1
Gradle JVM : 1.8

It's most likely because I upgraded my local/CI JDK to 11 to use Android Gradle Plugin v7.
I wonder if setting sourceCompatibility and targetCompatibility to 1.8 work. I'll do that in the next release.

Or would you like to send a PR? Then I can cut a patch release with that.

hi v0.11.0 is out with the above modifications. Please let me know if we need further action. Thanks!