Skip to content

Update KGP to 2.2.0-Beta1#5283

Merged
terrakok merged 3 commits intomasterfrom
k.tskh/kgp-2.2.0
Apr 18, 2025
Merged

Update KGP to 2.2.0-Beta1#5283
terrakok merged 3 commits intomasterfrom
k.tskh/kgp-2.2.0

Conversation

@terrakok
Copy link
Member

@terrakok terrakok commented Apr 16, 2025

Compose gradle plugin now depends on Kotlin gradle plugin 2.2

Release Notes

Migration Notes - Gradle Plugin

  • The Compose Gradle plugin requires the Kotlin Gradle plugin version 2.+ now. Old org.jetbrains.compose.compiler is not supported anymore and the API to configure it was removed.

@terrakok terrakok requested a review from igordmn April 16, 2025 10:45
Copy link
Collaborator

@igordmn igordmn left a comment

Choose a reason for hiding this comment

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

Lgtm, except failing tests

gradle: [7.4, 8.13]
agp: [8.6.0, 8.9.0]
os: ['ubuntu-24.04', 'macos-14', 'windows-2022']
gradle: ['8.0', '8.13']
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please, also change it in Teamcity

@terrakok terrakok force-pushed the k.tskh/kgp-2.2.0 branch 3 times, most recently from 9826118 to 4869b4a Compare April 17, 2025 13:06
Updated Kotlin language and API versions to 1.8.
Updated kotlin-poet to 2.1.0
Replaced legacy handling of the Compose compiler plugin with a new mechanism using `checkComposeCompilerPlugin`. This ensures compatibility with Kotlin 2.0.0+ and eliminates outdated compatibility code, simplifying future maintenance.
@terrakok terrakok merged commit 4ebb0c7 into master Apr 18, 2025
12 of 13 checks passed
@terrakok terrakok deleted the k.tskh/kgp-2.2.0 branch April 18, 2025 08:47
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