// 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' classpath 'de.undercouch:gradle-download-task:2.0.0' classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' } } allprojects { repositories { maven { url "$rootDir/maven" } maven { // We use a modified build of com.android.support.test:runner:1.0.1. Explanation in maven-test/README url "$rootDir/maven-test" } jcenter() maven { // Local Maven repo containing AARs with JSC built for Android url "$rootDir/../js/node_modules/jsc-android/android" } flatDir { dirs 'libs' // dirs project(':expoview').file('libs') } maven { url "https://jitpack.io" } maven { url 'https://maven.google.com' } // Want this last so that we never end up with a stale cache mavenLocal() } } task clean(type: Delete) { delete rootProject.buildDir }