-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
53 lines (50 loc) · 1.65 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.android_support_version = "25.3.1"
ext.kotlin_version ='1.2.41'
ext.anko_version='0.10.4'
ext.ok_http_version = '3.4.1'
ext.retrofit_version = '2.4.0'
ext.dagger_version = '2.11'
ext.rx_lifecycle_version = '1.0'
ext.glide_version = "3.7.0"
ext.circle_imageView_version = "2.1.0"
ext.take_photo_version = "4.0.3"
ext.alert_view_version = "1.0.3"
ext.multi_state_view_version = '1.3.2'
ext.arouter_api_version = '1.3.1'
ext.arouter_compiler_version = '1.1.4'
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
// classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
maven { url "https://jitpack.io" }
google()
jcenter()
// maven { url 'https://jitpack.io' }
}
subprojects {
project.configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'com.android.support'
&& !details.requested.name.contains('multidex') ) {
details.useVersion "25.3.1"
}
}
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}