@react-native/gradle-plugin 0.74.0-nightly-20231010-7b7f12896 → 0.74.0
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
|
@@ -28,11 +28,9 @@ internal object ProjectUtils {
|
|
|
28
28
|
internal fun Project.isNewArchEnabled(extension: ReactExtension): Boolean {
|
|
29
29
|
return (project.hasProperty(NEW_ARCH_ENABLED) &&
|
|
30
30
|
project.property(NEW_ARCH_ENABLED).toString().toBoolean()) ||
|
|
31
|
-
|
|
32
31
|
(project.hasProperty(SCOPED_NEW_ARCH_ENABLED) &&
|
|
33
32
|
project.property(SCOPED_NEW_ARCH_ENABLED).toString().toBoolean()) ||
|
|
34
33
|
shouldEnableNewArchForReactNativeVersion(project.reactNativeDir(extension))
|
|
35
|
-
|
|
36
34
|
}
|
|
37
35
|
|
|
38
36
|
internal val Project.isHermesEnabled: Boolean
|
|
@@ -123,7 +121,6 @@ internal object ProjectUtils {
|
|
|
123
121
|
(this.hasPropertySetToFalse(NEW_ARCH_ENABLED)) ||
|
|
124
122
|
(this.hasPropertySetToFalse(SCOPED_NEW_ARCH_ENABLED))
|
|
125
123
|
|
|
126
|
-
|
|
127
124
|
val shouldEnableNewArch =
|
|
128
125
|
shouldEnableNewArchForReactNativeVersion(this.reactNativeDir(extension))
|
|
129
126
|
|
|
@@ -132,5 +129,4 @@ internal object ProjectUtils {
|
|
|
132
129
|
|
|
133
130
|
internal fun Project.hasPropertySetToFalse(property: String): Boolean =
|
|
134
131
|
this.hasProperty(property) && this.property(property).toString().toBoolean() == false
|
|
135
|
-
|
|
136
132
|
}
|