-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
84 lines (77 loc) · 2.33 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
minSdkVersion = 21
targetSdkVersion = 29
compileSdkVersion = 29
dbFlowVersion = '4.2.4'
buildToolsVersion = '29.0.2'
supportLibVersion = '29.0.0'
kotlinVersion = '1.3.50'
gradlePluginVersion = '4.0.0'
gradleDownloadTaskVersion = '3.4.3'
repositoryUrl = "file:${System.env.HOME}/.m2/repository/"
}
repositories {
google()
jcenter()
maven { url 'https://dl.bintray.com/android/android-tools/' }
}
dependencies {
classpath "com.android.tools.build:gradle:${gradlePluginVersion}"
classpath 'com.google.gms:google-services:3.2.1'
classpath "de.undercouch:gradle-download-task:$gradleDownloadTaskVersion"
// https://github.com/awslabs/aws-device-farm-gradle-plugin/releases
classpath 'com.amazonaws:aws-devicefarm-gradle-plugin:1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
allprojects {
repositories {
// For non-detach
maven {
url "$rootDir/maven"
}
// For old expoviews to work
maven {
url "$rootDir/versioned-abis/expoview-abi38_0_0/maven"
}
maven {
url "$rootDir/versioned-abis/expoview-abi37_0_0/maven"
}
maven {
url "$rootDir/versioned-abis/expoview-abi36_0_0/maven"
}
maven {
url "$rootDir/versioned-abis/maven"
}
// For detach
maven {
url "$rootDir/../node_modules/expokit/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"
}
google()
jcenter()
maven {
// Local Maven repo containing AARs with JSC built for Android
url "$rootDir/../node_modules/jsc-android/dist"
}
flatDir {
dirs 'libs'
// dirs project(':expoview').file('libs')
}
// https://github.com/google/ExoPlayer/issues/5225#issuecomment-445739013
maven { url 'https://google.bintray.com/exoplayer' }
// Using www.jitpack.io instead of plain jitpack.io due to
// https://github.com/jitpack/jitpack.io/issues/4002
maven { url "https://www.jitpack.io" }
// Want this last so that we never end up with a stale cache
mavenLocal()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}