Skip to content

Add update-kotlin-version skill to automate repetitive steps in multiple files#2920

Merged
eymar merged 1 commit intojb-mainfrom
ok/add_kotlin_update_skill
Apr 7, 2026
Merged

Add update-kotlin-version skill to automate repetitive steps in multiple files#2920
eymar merged 1 commit intojb-mainfrom
ok/add_kotlin_update_skill

Conversation

@eymar
Copy link
Copy Markdown
Member

@eymar eymar commented Mar 26, 2026

Testing

N/A

Release Notes

N/A

@eymar eymar requested a review from ASalavei March 26, 2026 15:42
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
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it worth adding sync gradle/build project instructions here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@eymar eymar merged commit eb0a937 into jb-main Apr 7, 2026
21 checks passed
@eymar eymar deleted the ok/add_kotlin_update_skill branch April 7, 2026 14:07

## 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`.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a minimal compatibility rule, we shouldn't bump it like that if possible. But we always have some reasons 🫠

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, so far we had to bump it to latest - 1 every time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants