Skip to content

Instantly share code, notes, and snippets.

@mkamranhamid
Created November 1, 2019 13:01
Show Gist options
  • Save mkamranhamid/f8556bd39a2f2df7b44574327bb227eb to your computer and use it in GitHub Desktop.
Save mkamranhamid/f8556bd39a2f2df7b44574327bb227eb to your computer and use it in GitHub Desktop.
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
googlePlayServicesVersion = "15.0.1" // default: "+"
firebaseVersion = "+" // default: "+"
buildToolsVersion = "28.0.3"
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "28.0.0"
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.1'
classpath 'com.google.gms:google-services:4.2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
maven {
url "https://jitpack.io"
}
mavenLocal()
google()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment