Skip to content

Update replaceVersion.sh to include components build files#5536

Merged
Oleksandr Karpovich (eymar) merged 1 commit into
masterfrom
ok/bump_kotlin_version_components
Feb 13, 2026
Merged

Update replaceVersion.sh to include components build files#5536
Oleksandr Karpovich (eymar) merged 1 commit into
masterfrom
ok/bump_kotlin_version_components

Conversation

@eymar

Copy link
Copy Markdown
Member

Also, update components (resources and other libs) to CMP 1.10.0 and Kotlin 2.3.0 (it has not been updated before because replaceVersion.sh missed it).

Other sub-projects already use CMP 1.10.0 and Kotlin 2.3.0

Testing

N/A

Release Notes

N/A

Comment thread tools/replaceVersion.sh
"$ROOT/ci"
"$ROOT/tutorials"
"$ROOT/html"
"$ROOT/components"

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.

I remember why I didn't include it in replaceVersion.sh in the first place. The intent was to update public projects with the latest version every release, but keep the publishing projects with a lesser version for compatibility.

Every release we should call this script, and if the latest Kotlin is 2.4.0, we should use it. But we should update publishing projects to Kotlin 2.4.0 only when we decide that we plan to break compatibility (it is usually some AOSP merge).

To keep this intent, we should remove

    "$ROOT/html"
    "$ROOT/components"

from the script, and either continue to change it manually, or add another script replacePublishingKotlinVersion.sh

@igordmn Igor Demin (igordmn) left a comment

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.

Ok to merge. But let's do a follow-up for the comment

@eymar Oleksandr Karpovich (eymar) merged commit a3bbdd5 into master Feb 13, 2026
1 check passed
@eymar Oleksandr Karpovich (eymar) deleted the ok/bump_kotlin_version_components branch February 13, 2026 17:17
Oleksandr Karpovich (eymar) added a commit that referenced this pull request Mar 2, 2026
Kotlin version has been bumped in the lastest merge from AOSP to CMP
core -
https://github.com/JetBrains/compose-multiplatform-core/pull/2790/commits

Also I did a follow up for this change -
#5536 (comment)
(introduced a separate script to update the versions in the libraries)

## Testing
N/A

## Release Notes
N/A
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.

2 participants