diff --git a/android/build.gradle b/android/build.gradle index ecbe8a4..e7506b7 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -8,7 +8,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:4.2.2' + classpath "com.android.tools.build:gradle:7.2.1" } } @@ -149,6 +149,8 @@ repositories { } dependencies { - // noinspection GradleDynamicVersion - api 'com.facebook.react:react-native:+' + // For < 0.71, this will be from the local maven repo + // For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin + //noinspection GradleDynamicVersion + implementation "com.facebook.react:react-native:+" }