https://kotlinlang.org logo
#koin-contributors
Title
# koin-contributors
m

mbonnin

09/19/2022, 2:31 PM
Cross posting: https://kotlinlang.slack.com/archives/C67HDJZ2N/p1663595941423569 . Looks like the latest releases were made with JDK 11 and that JVM-only modules forward that as a required JVM version but there's no real reason to require Java11 ?
Any objection to setting
Copy code
java.toolchain.languageVersion.set(JavaLanguageVersion.of(8))
in all the Gradle scripts?
m

Marcello Galhardo

09/22/2022, 2:35 PM
I’m assuming you work with Android, and I’m aware the problem was fixed in the other thread - but out of curiosity: now that Android supports Java 11 with Desugaring, what is holding your project to update your Java version? If compatibility issues, what kind of issues are you facing? https://developer.android.com/studio/releases/gradle-plugin?utm_source=android-studio-2020-3-1&utm_medium=studio-assistant-stable#java-11
m

mbonnin

09/23/2022, 6:29 AM
It wasn't an Android project but a large backend projet. I guess ultimately they'll switch to java 11 but they're not there yet
3 Views