-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump Kotlin version to 1.4 or 1.8 #178
Comments
Obligatory related link: https://docs.gradle.org/current/userguide/compatibility.html Bumping to 1.4 wouldn't give you any benefit really, the decision should be made whether you want to support Gradle 5.x and 6.x. Bumping Kotlin support is just a consequence of that decision. Note that Gradle 8 is using Kotlin 1.8, and we override the language/api version to 1.3. Even with 1.4 we would get the warning:
So the only thing would change in the code is Additionally, I'm not sure dropping Gradle 6.x range would be welcome in the community, after all even this project was using 6.9 up until this week 😥 |
I guess bumping to Gradle 6.1 enables using Shared Build Services, which might help a lot to stop relying on the root project. |
Nice! Exactly what I meant by "the decision should be made whether you want to support Gradle 5.x and 6.x". |
This task is in the milestone 2.0.0, but we've already bumped the minimal required Gradle version to 6.0 (or 6.2) in 2.0.0 and I wonder, if we shouldn't wait with dropping Gradle <7 support to 3.0.0 (possible to release somehow soon, if problematic for Gradle 9 - or 10 - compatibility).? |
I think it's fine, I would wait for Kotlin 1.9 or 2.0, and until Gradle updates to those. Until then there's no real push, unless you really want to use Kotlin 1.9 features in this plugin right now :) I'm curious if there will be any backlash from Gradle 6 minimum. |
Hmm... gradle/gradle#25868 |
Unblocks #299 |
To keep compatibility with older Gradle versions, 1.2.0 enforces Kotlin 1.3 even with building Gradle 8.x. After the 1.2.0 release, the minimal required Gradle version could be bumped (7.x+?), so Kotlin 1.8 (or 1.4) would be more natural.
The text was updated successfully, but these errors were encountered: