From 14ccf6bc9c40a51e913bb89a67b114f035bf77cd Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Wed, 12 Jun 2024 02:58:16 -0700 Subject: [PATCH] Remove `android.enableJetifier` (#44876) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44876 We probably don't need Jetifier anymore at this point. Also see: https://github.com/react-native-community/template/pull/9 Changelog: [Internal] [Changed] - Remove `android.enableJetifier` Reviewed By: rshest Differential Revision: D58416487 fbshipit-source-id: f60c58aaf17b90c610959589fcd46026979c749a --- packages/helloworld/android/gradle.properties | 1 - packages/react-native/ReactAndroid/gradle.properties | 1 - packages/react-native/template/android/gradle.properties | 2 -- packages/rn-tester/android/app/gradle.properties | 1 - 4 files changed, 5 deletions(-) diff --git a/packages/helloworld/android/gradle.properties b/packages/helloworld/android/gradle.properties index 29fb5a6ad4f..eeb920d344c 100644 --- a/packages/helloworld/android/gradle.properties +++ b/packages/helloworld/android/gradle.properties @@ -7,7 +7,6 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m org.gradle.parallel=true android.useAndroidX=true -android.enableJetifier=true reactNativeArchitectures=arm64-v8a newArchEnabled=true hermesEnabled=true diff --git a/packages/react-native/ReactAndroid/gradle.properties b/packages/react-native/ReactAndroid/gradle.properties index 31a4a4d071d..b7aeccca057 100644 --- a/packages/react-native/ReactAndroid/gradle.properties +++ b/packages/react-native/ReactAndroid/gradle.properties @@ -2,7 +2,6 @@ VERSION_NAME=1000.0.0 react.internal.publishingGroup=com.facebook.react android.useAndroidX=true -android.enableJetifier=true # We want to have more fine grained control on the Java version for # ReactAndroid, therefore we disable RGNP Java version alignment mechanism diff --git a/packages/react-native/template/android/gradle.properties b/packages/react-native/template/android/gradle.properties index 99fc223edf5..5e24e3aa8db 100644 --- a/packages/react-native/template/android/gradle.properties +++ b/packages/react-native/template/android/gradle.properties @@ -21,8 +21,6 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m # Android operating system, and which are packaged with your app's APK # https://developer.android.com/topic/libraries/support-library/androidx-rn android.useAndroidX=true -# Automatically convert third-party libraries to use AndroidX -android.enableJetifier=true # Use this property to specify which architecture you want to build. # You can also override it from the CLI using diff --git a/packages/rn-tester/android/app/gradle.properties b/packages/rn-tester/android/app/gradle.properties index afa8164ce4c..cadd03ba6fa 100644 --- a/packages/rn-tester/android/app/gradle.properties +++ b/packages/rn-tester/android/app/gradle.properties @@ -2,7 +2,6 @@ org.gradle.parallel=true # This is causing issue with dependencies task: https://github.com/gradle/gradle/issues/9645#issuecomment-530746758 # org.gradle.configureondemand=true android.useAndroidX=true -android.enableJetifier=true # RN-Tester is building with NewArch always enabled newArchEnabled=true