Skip to content

Instantly share code, notes, and snippets.

@1fabiopereira
Created January 11, 2020 23:23
Show Gist options
  • Save 1fabiopereira/db3d656ccd1b34a6fc90d489a6f930f9 to your computer and use it in GitHub Desktop.
Save 1fabiopereira/db3d656ccd1b34a6fc90d489a6f930f9 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 {
buildToolsVersion = "28.0.3"
minSdkVersion = 19
compileSdkVersion = 28
targetSdkVersion = 28
}
repositories {
google()
mavenLocal()
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.google.gms:google-services:4.3.2'
classpath("com.android.tools.build:gradle:3.4.2")
}
}
allprojects {
repositories {
google()
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url("$rootDir/../node_modules/react-native/android")
}
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
jcenter()
maven { url 'https://jitpack.io' }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment