-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
64 lines (59 loc) · 1.67 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url "http://mvn.leancloud.cn/nexus/content/repositories/public" }
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'me.tatarka:gradle-retrolambda:3.3.1'
classpath 'me.tatarka.retrolambda.projectlombok:lombok.ast:0.2.3.a2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url "http://mvn.leancloud.cn/nexus/content/repositories/public" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
// Define versions in a single place
ext {
// Sdk and tools
minSdkVersion = 21
targetSdkVersion = 26
compileSdkVersion = 26
buildToolsVersion = "26.0.0"
versionCode = 1
versionName = "v0.0.1"
// App dependencies
androidSupportVersion = '25.3.1'
timberVersion = '4.1.2'
leakcanaryVersion = '1.5'
rxVersion = '1.2.1'
fabricVersion = '2.6.7@aar'
answersVersion = '1.3.13@aar'
okHttpVersion = '3.8.0'
retrofitVersion = '2.1.0'
daggerVersion = '2.10'
rxBindingVersion = '0.4.0'
googleAutoVersion = '1.0-beta4'
guavaVersion = '20.0'
jwtVersion = '0.7.0'
butterknifeVersion = '8.5.1'
introVersion = '1.6'
glideVersion = '3.7.0'
datePickerVersion = '3.0.0'
jodaVersion = '2.9.4'
apacheCommonsVersion = '3.5'
apacheValidatorVersion = '1.5.1'
}