-
Notifications
You must be signed in to change notification settings - Fork 143
/
build.gradle
109 lines (97 loc) · 3.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
import com.android.build.gradle.internal.tasks.AndroidTestTask
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: 'buildsystem/dependencies.gradle'
buildscript {
apply from: 'buildsystem/dependencies.gradle'
configurations.all {
resolutionStrategy {
dependencySubstitution {
substitute module('com.tunnelvisionlabs:antlr4') with module(
'org.antlr:antlr4:4.5.3')
}
}
}
repositories {
jcenter()
mavenCentral()
maven {
// For fabric
url 'https://maven.fabric.io/public'
}
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.14.0'
classpath 'de.mobilej.unmock:UnMockPlugin:0.5.1'
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.6.1'
classpath "net.rdrei.android.buildtimetracker:gradle-plugin:0.9.0"
classpath 'com.frogermcs.androiddevmetrics:androiddevmetrics-plugin:0.4'
classpath 'com.github.promeg:android-git-sha-plugin:1.0.1'
classpath "net.ltgt.gradle:gradle-errorprone-plugin:0.0.8"
classpath('com.uber:okbuck:0.17.2') {
exclude module: 'gradle'
}
classpath 'me.tatarka:gradle-retrolambda:3.3.0'
classpath 'me.tatarka.retrolambda.projectlombok:lombok.ast:0.2.3.a2'
classpath "com.squareup.sqldelight:gradle-plugin:$sqlDelightVersion"
classpath "com.jakewharton:butterknife-gradle-plugin:$butterKnifeVersion"
classpath 'io.fabric.tools:gradle:1.22.0'
classpath('com.chenenyu.router:gradle-plugin:0.3.0') {
exclude module: 'gradle'
}
}
configurations.classpath.exclude group: 'com.android.tools.external.lombok'
}
allprojects {
repositories {
jcenter()
mavenCentral()
maven {
// For icepick
url 'https://clojars.org/repo/'
}
maven {
// For fabric
url 'https://maven.fabric.io/public'
}
maven { url "https://jitpack.io" }
maven {
url "http://dl.bintray.com/piasy/maven"
}
}
}
subprojects {
afterEvaluate {
// Log instrumentation tests results.
tasks.withType(AndroidTestTask) { task ->
task.doFirst {
ant.lifecycleLogLevel = org.gradle.api.AntBuilder.AntMessagePriority.DEBUG
}
}
}
}
apply from: 'buildsystem/okbuck.gradle'
apply plugin: "build-time-tracker"
buildtimetracker {
reporters {
csv {
output "build/times.csv"
append true
header false
}
summary {
ordered false
threshold 50
barstyle "unicode"
}
csvSummary {
csv "build/times.csv"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}