-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for react-native 0.71
When upgrading to this version, please update your `build.gradle` to using `getReactNativeDependencies()`. This will reduce breakages when moving to 0.71 and beyond: ```diff diff --git a/example/android/build.gradle b/example/android/build.gradle index 984a681..29ef8ce 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -1,7 +1,6 @@ buildscript { def androidTestAppDir = "../node_modules/react-native-test-app/android" apply(from: "${androidTestAppDir}/dependencies.gradle") - apply(from: "${androidTestAppDir}/test-app-util.gradle") repositories { mavenCentral() @@ -9,12 +8,8 @@ buildscript { } dependencies { - classpath("com.android.tools.build:gradle:${androidPluginVersion}") - - def isNightly = getPackageVersionNumber("react-native", rootDir) == 0 - if (isNightly || isNewArchitectureEnabled(project)) { - classpath("com.facebook.react:react-native-gradle-plugin") - classpath("de.undercouch:gradle-download-task:5.3.0") + getReactNativeDependencies().each { dependency -> + classpath(dependency) } } } ```
- Loading branch information
Showing
18 changed files
with
208 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.