Commit 277fc97
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.1 parent 144a888 commit 277fc97
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
0 commit comments