You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deps android: Upgrade Kotlin to 2.2.0, from 2.1.20
Changelog:
https://kotlinlang.org/docs/whatsnew22.html
Highlights:
* Language features promotion to stable:
- Guard conditions in when with a subject.
- Non-local break and continue.
- Multi-dollar interpolation: improved handling of $ in string literals.
* Standard Library; Base64 API and HexFormat API are now Stable.
* Otherwise mostly experimental features.
There is one breaking change which almost affects us:
* In the Gradle DSL, `kotlinOptions` is deprecated in favor of
`compilerOptions`. The deprecation actually happened in 2.0.0
as a warning, but is now an error:
https://kotlinlang.org/docs/compatibility-guide-22.html#deprecate-kotlinoptions-dsl
We're not seeing the error (and haven't seen the warning) because
it appears only when the Gradle script is itself written in Kotlin,
and ours are still in Groovy. (That's #1803.) So it's no blocker,
but it'd be good to switch to `compilerOptions`; filed as #1804.
0 commit comments