summaryrefslogtreecommitdiff
path: root/simulator/buildSrc/src/main/kotlin/testing-conventions.gradle.kts
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-03-20 16:51:05 +0100
committerGitHub <noreply@github.com>2021-03-20 16:51:05 +0100
commit0862f8489b1122671cefa5c5bd59f677b56a3712 (patch)
tree9256a835306601fa522476d02be4c38e0bf001c9 /simulator/buildSrc/src/main/kotlin/testing-conventions.gradle.kts
parent592d60d6d2ef51923eebd844888930b07892da39 (diff)
parentfce499eaafa0afecee5c14346ff7d75e2fe999b6 (diff)
Add support for code coverage tracking via Codecov
This pull request enables aggregate code coverage reports via Jacoco and adds support for coverage tracking via Codecov.
Diffstat (limited to 'simulator/buildSrc/src/main/kotlin/testing-conventions.gradle.kts')
-rw-r--r--simulator/buildSrc/src/main/kotlin/testing-conventions.gradle.kts9
1 files changed, 5 insertions, 4 deletions
diff --git a/simulator/buildSrc/src/main/kotlin/testing-conventions.gradle.kts b/simulator/buildSrc/src/main/kotlin/testing-conventions.gradle.kts
index 566b765f..f129c282 100644
--- a/simulator/buildSrc/src/main/kotlin/testing-conventions.gradle.kts
+++ b/simulator/buildSrc/src/main/kotlin/testing-conventions.gradle.kts
@@ -1,7 +1,3 @@
-import org.gradle.kotlin.dsl.`java-library`
-import org.gradle.kotlin.dsl.kotlin
-import org.gradle.platform.base.Library
-
/*
* Copyright (c) 2021 AtLarge Research
*
@@ -30,6 +26,11 @@ plugins {
tasks.test {
useJUnitPlatform()
+
+ reports {
+ html.isEnabled = true
+ junitXml.isEnabled = true
+ }
}
dependencies {