-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle
76 lines (64 loc) · 2.05 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
73
74
75
76
task wrapper (type:Wrapper) {
gradleVersion = '4.6'
distributionUrl = 'https://services.gradle.org/distributions/gradle-4.6-all.zip'
}
buildscript {
repositories {
jcenter()
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.1'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.5.0-x'
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
classpath 'net.sf.proguard:proguard-gradle:5.3.3'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7'
classpath 'me.tatarka:gradle-retrolambda:3.7.0'
}
configurations.classpath {
resolutionStrategy {
failOnVersionConflict()
force 'com.android.tools:annotations:25.2.0'
force 'com.google.guava:guava:21.0'
force 'com.google.errorprone:error_prone_annotations:2.1.2'
force 'org.apache.httpcomponents:httpclient:4.2.5'
force 'org.apache.httpcomponents:httpcore:4.2.5'
force 'commons-lang:commons-lang:2.4'
force 'org.codehaus.groovy.modules.http-builder:http-builder:0.7.2'
force 'org.codehaus.plexus:plexus-utils:2.0.6'
}
}
}
allprojects {
apply plugin: 'idea'
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
repositories {
jcenter()
google()
}
configurations.all {
resolutionStrategy {
failOnVersionConflict()
force 'org.apache.httpcomponents:httpcore:4.2.5'
force 'com.google.guava:guava:21.0'
force 'junit:junit:4.12'
force 'org.codehaus.plexus:plexus-utils:1.5.15'
}
resolutionStrategy.cacheChangingModulesFor 15, 'seconds'
}
}
subprojects {
ext {
uploadInitiated = gradle.startParameter.taskNames.contains('bintrayUpload')
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}