Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade
kotlinPluginVersion
to 1.9.0
### Summary We need to bump `kotlin` Plugin version to `1.9.0` because the `nixpkgs` upgrade will set default `gradle` version to `8.4`. `gradle` version `8.4` comes with a base `kotlin` version of `1.9.0` which becomes incompatible with our existing version of `1.7` Otherwise we get errors like this : ``` e: /Users/siddarthkumar/code/experiments/status-mobile/node_modules/@react-native/ gradle-plugin/src/main/kotlin/com/facebook/react/utils/TaskUtils.kt: (25, 7): Class 'kotlin.collections.CollectionsKt__CollectionsKt' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. The class is loaded from /nix/store/3a228ppiiljfvsrxyq15h25chmiwsmbh-gradle-8.4/lib/gradle/lib/ kotlin-stdlib-1.9.10.jar!/kotlin/collections/CollectionsKt__CollectionsKt.class e: /Users/siddarthkumar/code/experiments/status-mobile/node_modules/@react-native/gradle-plugin/ src/main/kotlin/com/facebook/react/utils/TaskUtils.kt: (25, 47): Class 'kotlin.collections.CollectionsKt___CollectionsKt' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. The class is loaded from /nix/store/3a228ppiiljfvsrxyq15h25chmiwsmbh-gradle-8.4/lib/gradle/lib/ kotlin-stdlib-1.9.10.jar!/kotlin/collections/CollectionsKt___CollectionsKt.class e: /Users/siddarthkumar/code/experiments/status-mobile/node_modules/@react-native/gradle-plugin/ src/main/kotlin/com/facebook/react/utils/TaskUtils.kt: (27, 12): Class 'kotlin.collections.ArraysKt___ArraysKt' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. The class is loaded from /nix/store/3a228ppiiljfvsrxyq15h25chmiwsmbh-gradle-8.4/lib/gradle/lib/ kotlin-stdlib-1.9.10.jar!/kotlin/collections/ArraysKt___ArraysKt.class ``` needed for #18321 In this commit we set `kotlinPluginVersion` to `1.9.0` and update `gradle` dependencies. #### Platforms - Android
- Loading branch information