-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
64 lines (55 loc) · 1.31 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
ext {
// SDK Tool Version
minSdkVersion = 21
targetSdkVersion = 26
compileSdkVersion = 26
buildToolsVersion = '25.0.3'
supportVersion = "26.1.0"
// Build Version
versionCode = 1
versionName = "1.0"
// java version
javaVersion = JavaVersion.VERSION_1_8
// Dependencies Version
butterknifeVersion = "8.8.1"
gsonVersion = "2.8.5"
rxJavaVersion = "2.2.2"
rxAndroidVersion = "2.1.0"
rxBindingVersion = "1.0.0"
rxPermissionVersion = "0.10.2"
retrofitVersion = "2.4.0"
okHttpVersion = "3.11.0"
eventBusVersion = "3.1.1"
greenDaoVersion = "3.2.2"
lottieVersion = "2.6.1"
}
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
subprojects {
project.configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'com.android.support'
&& !details.requested.name.contains('multidex')) {
details.useVersion "26.1.0"
}
}
}
}