@react-native/gradle-plugin 0.83.9 → 0.83.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native/gradle-plugin",
|
|
3
|
-
"version": "0.83.
|
|
3
|
+
"version": "0.83.10",
|
|
4
4
|
"description": "Gradle Plugin for React Native",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/
|
|
8
|
+
"url": "git+https://github.com/react/react-native.git",
|
|
9
9
|
"directory": "packages/gradle-plugin"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://github.com/
|
|
11
|
+
"homepage": "https://github.com/react/react-native/tree/HEAD/packages/gradle-plugin#readme",
|
|
12
12
|
"keywords": [
|
|
13
13
|
"gradle",
|
|
14
14
|
"plugin",
|
|
15
15
|
"react-native"
|
|
16
16
|
],
|
|
17
|
-
"bugs": "https://github.com/
|
|
17
|
+
"bugs": "https://github.com/react/react-native/issues",
|
|
18
18
|
"engines": {
|
|
19
19
|
"node": ">= 20.19.4"
|
|
20
20
|
},
|
package/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/utils/DependencyUtils.kt
CHANGED
|
@@ -124,7 +124,7 @@ internal object DependencyUtils {
|
|
|
124
124
|
project.rootProject.allprojects { eachProject ->
|
|
125
125
|
eachProject.configurations.all { configuration ->
|
|
126
126
|
// Here we set a dependencySubstitution for both react-native and hermes-engine as those
|
|
127
|
-
// coordinates are voided due to https://github.com/
|
|
127
|
+
// coordinates are voided due to https://github.com/react/react-native/issues/35210
|
|
128
128
|
// This allows users to import libraries that are still using
|
|
129
129
|
// implementation("com.facebook.react:react-native:+") and resolve the right dependency.
|
|
130
130
|
configuration.resolutionStrategy.dependencySubstitution {
|
|
@@ -159,14 +159,14 @@ internal object DependencyUtils {
|
|
|
159
159
|
Triple(
|
|
160
160
|
"com.facebook.react:react-native",
|
|
161
161
|
"${coordinates.reactGroupString}:react-android:${coordinates.versionString}",
|
|
162
|
-
"The react-native artifact was deprecated in favor of react-android due to https://github.com/
|
|
162
|
+
"The react-native artifact was deprecated in favor of react-android due to https://github.com/react/react-native/issues/35210.",
|
|
163
163
|
)
|
|
164
164
|
)
|
|
165
165
|
dependencySubstitution.add(
|
|
166
166
|
Triple(
|
|
167
167
|
"com.facebook.react:hermes-engine",
|
|
168
168
|
hermesVersionString,
|
|
169
|
-
"The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/
|
|
169
|
+
"The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/react/react-native/issues/35210.",
|
|
170
170
|
)
|
|
171
171
|
)
|
|
172
172
|
dependencySubstitution.add(
|
package/react-native-gradle-plugin/src/test/kotlin/com/facebook/react/utils/DependencyUtilsTest.kt
CHANGED
|
@@ -438,14 +438,14 @@ class DependencyUtilsTest {
|
|
|
438
438
|
assertThat("com.facebook.react:react-android:0.42.0")
|
|
439
439
|
.isEqualTo(dependencySubstitutions[0].second)
|
|
440
440
|
assertThat(
|
|
441
|
-
"The react-native artifact was deprecated in favor of react-android due to https://github.com/
|
|
441
|
+
"The react-native artifact was deprecated in favor of react-android due to https://github.com/react/react-native/issues/35210."
|
|
442
442
|
)
|
|
443
443
|
.isEqualTo(dependencySubstitutions[0].third)
|
|
444
444
|
assertThat("com.facebook.react:hermes-engine").isEqualTo(dependencySubstitutions[1].first)
|
|
445
445
|
assertThat("com.facebook.hermes:hermes-android:0.42.0")
|
|
446
446
|
.isEqualTo(dependencySubstitutions[1].second)
|
|
447
447
|
assertThat(
|
|
448
|
-
"The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/
|
|
448
|
+
"The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/react/react-native/issues/35210."
|
|
449
449
|
)
|
|
450
450
|
.isEqualTo(dependencySubstitutions[1].third)
|
|
451
451
|
}
|
|
@@ -462,14 +462,14 @@ class DependencyUtilsTest {
|
|
|
462
462
|
assertThat("com.facebook.react:react-android:0.42.0")
|
|
463
463
|
.isEqualTo(dependencySubstitutions[0].second)
|
|
464
464
|
assertThat(
|
|
465
|
-
"The react-native artifact was deprecated in favor of react-android due to https://github.com/
|
|
465
|
+
"The react-native artifact was deprecated in favor of react-android due to https://github.com/react/react-native/issues/35210."
|
|
466
466
|
)
|
|
467
467
|
.isEqualTo(dependencySubstitutions[0].third)
|
|
468
468
|
assertThat("com.facebook.react:hermes-engine").isEqualTo(dependencySubstitutions[1].first)
|
|
469
469
|
assertThat("com.facebook.hermes:hermes-android:0.43.0")
|
|
470
470
|
.isEqualTo(dependencySubstitutions[1].second)
|
|
471
471
|
assertThat(
|
|
472
|
-
"The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/
|
|
472
|
+
"The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/react/react-native/issues/35210."
|
|
473
473
|
)
|
|
474
474
|
.isEqualTo(dependencySubstitutions[1].third)
|
|
475
475
|
}
|
|
@@ -490,14 +490,14 @@ class DependencyUtilsTest {
|
|
|
490
490
|
assertThat("com.facebook.react:react-native").isEqualTo(dependencySubstitutions[0].first)
|
|
491
491
|
assertThat("io.github.test:react-android:0.42.0").isEqualTo(dependencySubstitutions[0].second)
|
|
492
492
|
assertThat(
|
|
493
|
-
"The react-native artifact was deprecated in favor of react-android due to https://github.com/
|
|
493
|
+
"The react-native artifact was deprecated in favor of react-android due to https://github.com/react/react-native/issues/35210."
|
|
494
494
|
)
|
|
495
495
|
.isEqualTo(dependencySubstitutions[0].third)
|
|
496
496
|
assertThat("com.facebook.react:hermes-engine").isEqualTo(dependencySubstitutions[1].first)
|
|
497
497
|
assertThat("io.github.test.hermes:hermes-android:0.42.0")
|
|
498
498
|
.isEqualTo(dependencySubstitutions[1].second)
|
|
499
499
|
assertThat(
|
|
500
|
-
"The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/
|
|
500
|
+
"The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/react/react-native/issues/35210."
|
|
501
501
|
)
|
|
502
502
|
.isEqualTo(dependencySubstitutions[1].third)
|
|
503
503
|
assertThat("com.facebook.react:hermes-android").isEqualTo(dependencySubstitutions[2].first)
|
|
@@ -533,14 +533,14 @@ class DependencyUtilsTest {
|
|
|
533
533
|
assertThat("com.facebook.react:react-native").isEqualTo(dependencySubstitutions[0].first)
|
|
534
534
|
assertThat("io.github.test:react-android:0.42.0").isEqualTo(dependencySubstitutions[0].second)
|
|
535
535
|
assertThat(
|
|
536
|
-
"The react-native artifact was deprecated in favor of react-android due to https://github.com/
|
|
536
|
+
"The react-native artifact was deprecated in favor of react-android due to https://github.com/react/react-native/issues/35210."
|
|
537
537
|
)
|
|
538
538
|
.isEqualTo(dependencySubstitutions[0].third)
|
|
539
539
|
assertThat("com.facebook.react:hermes-engine").isEqualTo(dependencySubstitutions[1].first)
|
|
540
540
|
assertThat("io.github.test.hermes:hermes-android:0.43.0")
|
|
541
541
|
.isEqualTo(dependencySubstitutions[1].second)
|
|
542
542
|
assertThat(
|
|
543
|
-
"The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/
|
|
543
|
+
"The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/react/react-native/issues/35210."
|
|
544
544
|
)
|
|
545
545
|
.isEqualTo(dependencySubstitutions[1].third)
|
|
546
546
|
assertThat("com.facebook.react:hermes-android").isEqualTo(dependencySubstitutions[2].first)
|