forked from JakeWharton/timber
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
64 lines (54 loc) · 1.6 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
apply plugin: 'com.github.ben-manes.versions'
buildscript {
ext.versions = [
'minSdk': 9,
'compileSdk': 27,
'kotlin': '1.2.21',
'androidPlugin': '3.1.0-beta2',
'androidTools': '26.1.0-beta2',
'butterknife': '8.8.1',
]
ext.deps = [
androidPlugin: "com.android.tools.build:gradle:${versions.androidPlugin}",
kotlinPlugin: "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}",
'butterknife': [
'runtime': "com.jakewharton:butterknife:${versions.butterknife}",
'compiler': "com.jakewharton:butterknife-compiler:${versions.butterknife}"
],
'lint': [
'core': "com.android.tools.lint:lint:${versions.androidTools}",
'api': "com.android.tools.lint:lint-api:${versions.androidTools}",
'checks': "com.android.tools.lint:lint-checks:${versions.androidTools}",
'tests': "com.android.tools.lint:lint-tests:${versions.androidTools}",
],
annotations: 'org.jetbrains:annotations:15.0',
junit: 'junit:junit:4.12',
truth: 'com.google.truth:truth:0.39',
robolectric: 'org.robolectric:robolectric:3.7',
]
repositories {
jcenter()
google()
}
dependencies {
classpath deps.androidPlugin
classpath deps.kotlinPlugin
classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0'
}
}
subprojects {
repositories {
mavenCentral()
jcenter()
google()
}
tasks.withType(Test) {
testLogging {
events "failed"
exceptionFormat "full"
showExceptions true
showStackTraces true
showCauses true
}
}
}