Add update-kotlin-version skill to automate repetitive steps in multiple files#2920
Merged
Add update-kotlin-version skill to automate repetitive steps in multiple files#2920
Conversation
ASalavei
reviewed
Mar 26, 2026
| After making all updates: | ||
| 1. Confirm that `JETBRAINS_COMPILE_KOTLIN_VERSION` is set to the previous major.minor version, not the latest | ||
| 2. Verify that all three version entries in `libs.versions.toml` are updated consistently | ||
| 3. If a new major.minor version was added, confirm the `KotlinTarget` enum includes it |
There was a problem hiding this comment.
Maybe it worth adding sync gradle/build project instructions here?
Member
Author
There was a problem hiding this comment.
In most cases the build will fail due to various reasons :)
I will likely update this skill during the next major update and I will try to ask to build the project and exctract any helpful details it can from the build logs/stacktrace.
ASalavei
approved these changes
Apr 7, 2026
MatkovIvan
reviewed
Apr 7, 2026
|
|
||
| ## Important Rule | ||
|
|
||
| `JETBRAINS_COMPILE_KOTLIN_VERSION` must not be the latest version, but rather the newest - 1. For example, if we use Kotlin 2.3.20 as the latest, `JETBRAINS_COMPILE_KOTLIN_VERSION` should be `KOTLIN_2_2`. |
Collaborator
There was a problem hiding this comment.
It's a minimal compatibility rule, we shouldn't bump it like that if possible. But we always have some reasons 🫠
Member
Author
There was a problem hiding this comment.
yes, so far we had to bump it to latest - 1 every time.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Testing
N/A
Release Notes
N/A