yshrsmz / BuildKonfig

BuildConfig for Kotlin Multiplatform Project
Apache License 2.0
782 stars 32 forks source link

Java version compatibility #60

Closed sanders9 closed 3 years ago

sanders9 commented 3 years ago

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
yshrsmz commented 3 years ago

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.

yshrsmz commented 3 years ago

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