forked from EventFahrplan/EventFahrplan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (45 loc) · 1.26 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
import nerd.tuxmobil.fahrplan.congress.Plugins
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent
buildscript {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath Plugins.android
classpath Plugins.androidJunitJacoco
classpath Plugins.dexcount
classpath Plugins.kotlin
classpath Plugins.ksp
classpath Plugins.sonarQube
classpath Plugins.unMock
classpath Plugins.versions
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
}
}
subprojects {
tasks.withType(Test).configureEach {
useJUnitPlatform()
testLogging {
events TestLogEvent.FAILED,
TestLogEvent.PASSED,
TestLogEvent.SKIPPED,
TestLogEvent.STANDARD_ERROR,
TestLogEvent.STANDARD_OUT
exceptionFormat TestExceptionFormat.FULL
showCauses true
showExceptions true
showStackTraces true
}
}
}
apply from: "gradle/versions.gradle"
apply plugin: "com.vanniktech.android.junit.jacoco"