-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
54 lines (46 loc) · 1.28 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import com.adarshr.gradle.testlogger.theme.ThemeType
plugins {
id("com.dorongold.task-tree") version "1.3.1"
id("net.rdrei.android.buildtimetracker") version "0.11.0"
id("com.adarshr.test-logger") version ("1.6.0")
}
allprojects {
group = "com.example"
version = "0.0.1"
configurations.all {
resolutionStrategy {
force(Deps.kotlin_common)
force(Deps.kotlin_test_common)
force(Deps.kotlin_test_annotations_common)
force(Deps.kotlin_stdlib_jdk8)
force(Deps.kotlin_test)
force(Deps.kotlin_test_junit)
force(Deps.kotlin_stdlib_js)
force(Deps.kotlin_test_js)
force(Deps.kotlin_reflect)
}
}
}
subprojects {
/**
* TODO: doesn't work along with the kotlin-multiplatform in Gradle 5
* See: https://youtrack.jetbrains.com/issue/KT-28520
*/
// apply(plugin = "maven-publish")
apply(plugin = "com.adarshr.test-logger")
repositories {
mavenCentral()
}
}
buildtimetracker {
reporters {
register("summary") {
options["ordered"] = "true"
options["barstyle"] = "ascii"
options["shortenTaskNames"] = "false"
}
}
}
testlogger {
theme = ThemeType.STANDARD
}