diff --git a/android/build.gradle b/android/build.gradle index 4d87c543..ebc5f6e1 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -20,7 +20,6 @@ buildscript { // Matches recent template from React Native (0.59) // https://github.com/facebook/react-native/blob/0.59-stable/template/android/build.gradle#L16 classpath 'com.android.tools.build:gradle:7.4.2' - classpath("com.facebook.react:react-native-gradle-plugin") } } @@ -29,7 +28,6 @@ plugins { } apply plugin: 'com.android.library' -apply plugin: "com.facebook.react" def safeExtGet(prop, fallback) { rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback @@ -60,14 +58,6 @@ android { allprojects { repositories { - maven { - // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm - url(new File(['node', '--print', "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim(), '../android')) - } - maven { - // Android JSC is installed from npm - url(new File(['node', '--print', "require.resolve('jsc-android/package.json')"].execute(null, rootDir).text.trim(), '../dist')) - } mavenCentral() google() maven { url 'https://www.jitpack.io' } diff --git a/android/settings.gradle b/android/settings.gradle deleted file mode 100644 index 23665cdb..00000000 --- a/android/settings.gradle +++ /dev/null @@ -1,3 +0,0 @@ -apply from: new File(["node", "--print", "require.resolve('@react-native-community/cli-platform-android/package.json')"].execute(null, rootDir).text.trim(), "../native_modules.gradle"); -applyNativeModulesSettingsGradle(settings) -includeBuild(new File(["node", "--print", "require.resolve('react-native-gradle-plugin/package.json')"].execute(null, rootDir).text.trim()).getParentFile()) \ No newline at end of file