Skip to content

Commit 277fc97

Browse files
rajveermalviyagnprice
authored andcommitted
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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ agpVersion=8.10.1
1313
# https://kotlinlang.org/docs/releases.html#release-details
1414
# A helpful discussion is at:
1515
# https://stackoverflow.com/a/74425347
16-
kotlinVersion=2.1.20
16+
kotlinVersion=2.2.0

0 commit comments

Comments
 (0)