Skip to content

Commit 38e939a

Browse files
committed
fix: remove new arch checks from gradle
1 parent 2c605c4 commit 38e939a

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

android/build.gradle

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,10 @@ def reactNativeArchitectures() {
3333
return architectures.findAll { it in defaultArchitectures }
3434
}
3535

36-
def isNewArchitectureEnabled() {
37-
return rootProject.hasProperty("newArchEnabled") && rootProject.getProperty("newArchEnabled") == "true"
38-
}
39-
4036
apply plugin: "com.android.library"
4137
apply plugin: "kotlin-android"
38+
apply plugin: "com.facebook.react"
4239

43-
if (isNewArchitectureEnabled()) {
44-
apply plugin: "com.facebook.react"
45-
}
4640

4741
def getExtOrDefault(name) {
4842
return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties["RnExecutorch_" + name]
@@ -115,7 +109,6 @@ android {
115109
defaultConfig {
116110
minSdkVersion getExtOrIntegerDefault("minSdkVersion")
117111
targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
118-
buildConfigField("boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString())
119112
externalNativeBuild {
120113
cmake {
121114
cppFlags "-O2 -frtti -fexceptions -Wall -fstack-protector-all"

0 commit comments

Comments
 (0)