From 6f6ea863519a21beb58d3fb5f3e8192b44a3cdb3 Mon Sep 17 00:00:00 2001 From: Wojciech Lewicki Date: Tue, 9 Feb 2021 12:00:53 +0100 Subject: [PATCH] feat: remove buildscript from main build.gradle (#799) After consultation with @kmagiera we came to a conclusion that keeping buildscript is not necessary since it would only be used when the project is a rootProject and react-native-screens is not meant to be used as a standalone project. --- android/build.gradle | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index fbfa76633..1b07b0887 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,20 +1,3 @@ - -buildscript { - // The Android Gradle plugin is only required when opening the android folder stand-alone. - // This avoids unnecessary downloads and potential conflicts when the library is included as a - // module dependency in an application project. - if (project == rootProject) { - repositories { - google() - jcenter() - } - - dependencies { - classpath("com.android.tools.build:gradle:3.6.2") - } - } -} - apply plugin: 'com.android.library' def safeExtGet(prop, fallback) {