From 902293ea8945e1d47c58676b2e791be9ffeeafc7 Mon Sep 17 00:00:00 2001 From: Reza_ashrafi Date: Mon, 6 Jun 2022 22:16:44 +0430 Subject: [PATCH] build: update build.gradle and build.gradle --- android/app/build.gradle | 4 +++- android/build.gradle | 5 +---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 2f03111..21140e4 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -275,7 +275,9 @@ dependencies { implementation "com.facebook.react:react-native:+" // From node_modules implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0" - + + implementation project(':@react-native-mapbox-gl_maps') + debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") { exclude group:'com.facebook.fbjni' } diff --git a/android/build.gradle b/android/build.gradle index 6d70f2c..0e9977a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,4 +1,4 @@ -import org.apache.tools.ant.taskdefs.condition.OS +import org.apache.tools.ant.taskdefs.condition.Os // Top-level build file where you can add configuration options common to all sub-projects/modules. @@ -31,9 +31,6 @@ buildscript { } allprojects { - dependencies { - implementation project(':@react-native-mapbox-gl_maps') - } repositories { maven { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm