Skip to content

Commit f22203e

Browse files
chore: remove React Native 0.71 leftover in build.gradle (#743)
<!-- Please provide enough information so that others can review your pull request. --> <!-- Keep pull requests small and focused on a single change. --> ### Summary React Native 0.71 is not longer supported, current React Native version is 0.76. ### Test plan Android project should build without any issues.
1 parent 388ad09 commit f22203e

File tree

1 file changed

+1
-4
lines changed
  • packages/create-react-native-library/templates/native-common/android

1 file changed

+1
-4
lines changed

packages/create-react-native-library/templates/native-common/android/build.gradle

+1-4
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,7 @@ repositories {
130130
def kotlin_version = getExtOrDefault("kotlinVersion")
131131

132132
dependencies {
133-
// For < 0.71, this will be from the local maven repo
134-
// For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
135-
//noinspection GradleDynamicVersion
136-
implementation "com.facebook.react:react-native:+"
133+
implementation "com.facebook.react:react-android"
137134
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
138135
}
139136

0 commit comments

Comments
 (0)