Upgrade to Kotlin 2.3.20#2918
Conversation
- Update binary compatibility validator usages of Kotlin APIs - Move to context parameters in compose runtime tests - Update messages.ignore to capture the new kotlinc warning in wasm code - Make sure that kotlinCompiler is only added as a compileOnly dependency. This makes sure that buildSrc-test that consumes this project does not get Kotlin compiler on the claspath. - Update error handling for missing IRs for Kotlin 2.3.20 Bug: 488124257 Test: ./gradlew bOS --dry-run Change-Id: I900c835cfc452f3a30489f230183ce33434d8e2b
| kotlin23 = "2.3.20" | ||
| kotlin = "2.3.20" | ||
| kotlinBenchmark = "0.4.14" | ||
| kotlinGradlePluginAnnotations = "2.3.10" |
There was a problem hiding this comment.
Any reason to keep it (and a few more places) of the previous version?
There was a problem hiding this comment.
I noticed that in aosp these were not updated (it's even 1.9.24 there), so probably no strong reason to change them on our side too.
|
|
||
| # A special workaround introduced in Kotlin 2.3.20 to support the Compose redirects. | ||
| # See https://youtrack.jetbrains.com/issue/KT-83917 | ||
| kotlin.internal.kmp.allowMatchingByRequestedCoordinatesInMetadataTransformations=true No newline at end of file |
There was a problem hiding this comment.
Let's move it above artifactRedirection.*, closed to kotlin flags (but under # JetBrains fork only properties)
PS 🙈
There was a problem hiding this comment.
it's really about redirects. That's why added it here. It's still in the scope of JetBrains fork only properties.
I'd like to keep it close to redirect properties. Either above or below it.
Placing it below seems better because the context of the redirects is already introduced earlier.
Bug: 488124257
Test: ./gradlew bOS --dry-run
Change-Id: I900c835cfc452f3a30489f230183ce33434d8e2b
Cherry-picked androidx@55c298b
Fixes https://youtrack.jetbrains.com/issue/CMP-9995/Update-Kotlin-version-in-all-repositories-to-2.3.20
NOTE: DO NOT SQUASH. USE MEREGE COMMIT!
Testing
N/A
Release Notes
Migration Notes - Web