-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
38 lines (34 loc) · 896 Bytes
/
build.gradle.kts
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply {
plugin(Plugins.koin)
plugin(Plugins.jacoco)
}
buildscript {
repositories {
mavenCentral()
google()
jcenter()
}
dependencies {
classpath(ClassPaths.android_tools_gradle)
classpath(ClassPaths.kotlin_gradle_plugin)
classpath(ClassPaths.koin_gradle_plugin)
classpath(ClassPaths.jacoco_gradle_plugin)
}
}
allprojects {
repositories {
mavenCentral()
google()
jcenter()
}
}
val mergeTestReport = tasks.register<TestReport>("mergeTestReports") {
destinationDir = file("$buildDir/reports/tests/test")
reportOn(subprojects.mapNotNull {
it.tasks.findByPath("test")
})
reportOn(subprojects.mapNotNull {
it.tasks.findByPath("testDebugUnitTest")
})
}