-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbuild.gradle
48 lines (41 loc) · 1.3 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.androidPluginVersion = "3.2.0-alpha15"
ext.kotlin_version = '1.2.41'
ext.smugglerVersion = "0.14.0"
ext.supportLibVersion = "27.1.1"
ext.glideVersion = "3.7.0"
ext.glideOkHttp = "1.5.0"
ext.lastAdapterVersion = "2.3.0"
ext.dataBinding = ext.androidPluginVersion
ext.okhttpVersion = "3.6.0"
ext.retrofitVersion = "2.2.0"
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:$androidPluginVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.mironov.smuggler:smuggler-plugin:$smugglerVersion"
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
configurations.all {
resolutionStrategy {
eachDependency { details ->
// Force all of the primary support libraries to use the same version.
def group = details.requested.group
if (group == 'com.android.databinding' && details.requested.module == "compiler") details.useVersion = "3.2.0-alpha14"
}
failOnVersionConflict()
}
}