-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy pathbuild.gradle
72 lines (68 loc) · 2.26 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
buildscript {
repositories {
jcenter()
google()
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.30"
classpath 'com.android.tools.build:gradle:3.1.0-rc01'
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.7.3'
classpath 'me.tatarka.retrolambda.projectlombok:lombok.ast:0.2.3.a2'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.15.0'
classpath 'com.google.gms:google-services:3.1.0'
classpath 'io.fabric.tools:gradle:1.+'
classpath 'com.airbnb.okreplay:gradle-plugin:1.4.0'
}
// Exclude the Lombok version that the android plugin depends on (fix for Retrolambda).
configurations.classpath.exclude group: 'com.android.tools.external.lombok'
}
allprojects {
repositories {
jcenter()
google()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url "https://clojars.org/repo/" }
maven { url 'https://maven.fabric.io/public' }
}
// Workaround to prevent Gradle from stealing focus from other apps during tests run/etc.
// https://gist.github.com/artem-zinnatullin/4c250e04636e25797165
tasks.withType(JavaForkOptions) {
jvmArgs '-Djava.awt.headless=true'
}
ext {
versionCode = 6
versionName = '1.0.5'
minSdkVersion = 21
compileSdkVersion = 27
targetSdkVersion = 27
buildToolsVersion = '27.0.3'
autoValueMoshiVersion = '0.4.3'
supportLibVersion = '27.1.0'
devApiEndpoint = "http://10.0.2.2:3000/"
prodApiEndpoint = "http://elifut.com/"
retrofitVersion = "2.3.0"
playServicesVersion = '11.8.0'
autoValueCursorVersion = '1.1.0'
kotlinVersion = '1.2.30'
moshiVersion = '1.5.0'
sqlbriteVersion = '1.1.2'
butterknifeVersion = '8.7.0'
okhttpVersion = '3.8.1'
okReplayVersion = '1.4.0'
espressoVersion = '3.0.0'
supportTestVersion = '1.0.0'
icepickVersion = '3.2.0'
autoValueParcelVersion = '0.2.5'
rxJavaVersion = '1.3.0'
rxBindingVersion = '1.0.1'
guavaVersion = '23.3-android'
daggerVersion = '2.15'
stethoVersion = '1.5.0'
robolectricVersion = '3.7.1'
autoValueVersion = '1.4.1'
crashlyticsVersion = '2.6.8'
circularProgressViewVersion = '2.5.0'
javapoetVersion = '1.9.0'
}
}