Created
February 8, 2018 18:40
-
-
Save ronal2do/b7a513354e623214ec9a083c80325c1e 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) | |
jcenter() | |
maven { | |
url "https://jitpack.io" | |
} | |
mavenLocal() | |
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