aboutsummaryrefslogtreecommitdiffstats
path: root/gradle
diff options
context:
space:
mode:
Diffstat (limited to 'gradle')
-rw-r--r--gradle/junit.gradle5
1 files changed, 5 insertions, 0 deletions
diff --git a/gradle/junit.gradle b/gradle/junit.gradle
index b36b30b4..3f3970d9 100644
--- a/gradle/junit.gradle
+++ b/gradle/junit.gradle
@@ -1,3 +1,5 @@
1apply plugin: 'jacoco'
2
1dependencies { 3dependencies {
2 testCompile "org.junit.jupiter:junit-jupiter-api:${junitVersion}" 4 testCompile "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
3 testRuntime "org.junit.jupiter:junit-jupiter-engine:${junitVersion}" 5 testRuntime "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
@@ -14,3 +16,6 @@ test {
14task slowTest(type: Test) { 16task slowTest(type: Test) {
15 useJUnitPlatform() 17 useJUnitPlatform()
16} 18}
19
20test.finalizedBy(jacocoTestReport)
21jacocoTestReport.dependsOn(test)