Commit 664acaf
fix: upgrade foojay-resolver-convention to 1.0.0 (#56210)
Summary:
foojay-resolver-convention's version 0.5.0 is not compatible with Gradle 9. (gradle/foojay-toolchains#151)
When trying to build for Android on React Native 0.8.2, we are presented with
```
java.lang.NoSuchFieldError: Class org.gradle.jvm.toolchain.JvmVendorSpec does not have member field 'org.gradle.jvm.toolchain.JvmVendorSpec IBM_SEMERU'
at org.gradle.toolchains.foojay.DistributionsKt.<clinit>(distributions.kt:16)
at org.gradle.toolchains.foojay.FoojayApi.fetchDistributionsIfMissing(FoojayApi.kt:62)
at org.gradle.toolchains.foojay.FoojayApi.match$foojay_resolver(FoojayApi.kt:49)
at org.gradle.toolchains.foojay.FoojayApi.toLinks(FoojayApi.kt:41)
```
## Changelog:
<!-- Help reviewers and the release process by writing your own changelog entry.
Pick one each for the category and type tags:
[ANDROID] [CHANGED] - changed foojay-resolver-convetion version to 1.0.0
For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
Pull Request resolved: #56210
Test Plan: After making the change, the app build without problems.
Reviewed By: fabriziocucci
Differential Revision: D98883905
Pulled By: cortinico
fbshipit-source-id: 18bfbba0e6af1aee660cee13c68c20bab75506d91 parent b8149bc commit 664acaf
File tree
2 files changed
+2
-2
lines changed- packages/gradle-plugin
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments