Created
February 2, 2018 20:21
-
-
Save ronal2do/caa4812f16c3264cde860a1a627a8eab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:2.3.3' | |
classpath 'com.google.gms:google-services:3.0.0' | |
// NOTE: Do not place your application dependencies here; they belong | |
// in the individual module build.gradle files | |
} | |
} | |
subprojects { | |
afterEvaluate {project -> | |
if (project.hasProperty("android")) { | |
android { | |
compileSdkVersion 27 | |
buildToolsVersion '27.0.2' | |
} | |
} | |
} | |
} | |
allprojects { | |
repositories { | |
// Add jitpack repository (added by react-native-spinkit) | |
maven { | |
url "https://jitpack.io" | |
} | |
mavenLocal() | |
jcenter() | |
maven { | |
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm | |
url "$rootDir/../node_modules/react-native/android" | |
} | |
maven { | |
url "https://maven.google.com" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment