xref: /expo/android/build.gradle (revision bb2d166c)
1// Top-level build file where you can add configuration options common to all sub-projects/modules.
2
3buildscript {
4  repositories {
5    jcenter()
6  }
7  dependencies {
8    classpath 'com.android.tools.build:gradle:2.3.3'
9    classpath 'com.google.gms:google-services:3.0.0'
10    classpath 'de.undercouch:gradle-download-task:2.0.0'
11    classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
12  }
13}
14
15allprojects {
16  repositories {
17    maven {
18      url "$rootDir/maven"
19    }
20    maven {
21      // We use a modified build of com.android.support.test:runner:1.0.1. Explanation in maven-test/README
22      url "$rootDir/maven-test"
23    }
24    jcenter()
25    maven {
26      // Local Maven repo containing AARs with JSC built for Android
27      url "$rootDir/../js/node_modules/jsc-android/android"
28    }
29    flatDir {
30      dirs 'libs'
31      // dirs project(':expoview').file('libs')
32    }
33    maven { url "https://jitpack.io" }
34    maven {
35      url 'https://maven.google.com'
36    }
37
38    // Want this last so that we never end up with a stale cache
39    mavenLocal()
40  }
41}
42
43task clean(type: Delete) {
44  delete rootProject.buildDir
45}
46