Skip to content

Commit

Permalink
feat: remove buildscript from main build.gradle (#799)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
WoLewicki committed Feb 9, 2021
1 parent 2447869 commit 6f6ea86
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions 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) {
Expand Down

0 comments on commit 6f6ea86

Please sign in to comment.