forked from Piasy/AndroidTDDBootStrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
75 lines (68 loc) · 1.95 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: 'buildsystem/dependencies.gradle'
apply from: 'buildsystem/variants.gradle'
buildscript {
repositories {
jcenter()
maven {
// For fabric
url 'https://maven.fabric.io/public'
}
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.6'
classpath 'me.tatarka:gradle-retrolambda:3.2.1'
classpath 'io.fabric.tools:gradle:1.20.1'
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.3.0'
classpath 'de.mobilej.unmock:UnMockPlugin:0.3.6'
classpath 'com.ofg:uptodate-gradle-plugin:1.6.2'
classpath "com.github.piasy:okbuck-gradle-plugin:1.0.0-beta6"
classpath "net.rdrei.android.buildtimetracker:gradle-plugin:0.5.0"
}
}
allprojects {
repositories {
jcenter()
maven {
// For icepick
url 'https://clojars.org/repo/'
}
maven {
// For fabric
url 'https://maven.fabric.io/public'
}
}
}
apply from: 'AndroidCodeQualityConfig/jacoco.gradle'
apply plugin: 'com.github.piasy.okbuck-gradle-plugin'
okbuck {
target "android-23"
overwrite true
resPackages = [
'common_android': 'com.github.piasy.common.android',
'model': 'com.github.piasy.model',
'presentation': 'com.github.piasy.template',
]
}
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"
}
}
}