-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
62 lines (51 loc) · 1.54 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
buildscript {
ext.versions = [
'minSdk' : 21,
'compileSdk' : 28,
'kotlin' : '1.3.31',
'androidPlugin': '3.4.0',
'androidTools' : '26.4.0',
]
ext.deps = [
androidPlugin: "com.android.tools.build:gradle:${versions.androidPlugin}",
'kotlin' : [
'plugin': "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}",
'stdlib': "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin}"
],
'dokka' : 'org.jetbrains.dokka:dokka-gradle-plugin:0.9.18',
rxjava : 'io.reactivex.rxjava2:rxjava:2.2.8',
rxandroid : 'io.reactivex.rxjava2:rxandroid:2.1.1',
'androidx' : [
'material': 'com.google.android.material:material:1.1.0-alpha06',
'ktx' : 'androidx.core:core-ktx:1.0.1'
],
junit : 'junit:junit:4.12',
]
repositories {
mavenCentral()
google()
gradlePluginPortal()
jcenter()
}
dependencies {
classpath deps.androidPlugin
classpath deps.dokka
classpath deps.kotlin.plugin
}
}
subprojects {
repositories {
mavenCentral()
google()
jcenter()
}
tasks.withType(Test) {
testLogging {
events "failed"
exceptionFormat "full"
showExceptions true
showStackTraces true
showCauses true
}
}
}