aboutsummaryrefslogtreecommitdiffstats
path: root/buildSrc/src/main/groovy/tools.refinery.junit-conventions.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'buildSrc/src/main/groovy/tools.refinery.junit-conventions.gradle')
-rw-r--r--buildSrc/src/main/groovy/tools.refinery.junit-conventions.gradle33
1 files changed, 0 insertions, 33 deletions
diff --git a/buildSrc/src/main/groovy/tools.refinery.junit-conventions.gradle b/buildSrc/src/main/groovy/tools.refinery.junit-conventions.gradle
deleted file mode 100644
index d62207b7..00000000
--- a/buildSrc/src/main/groovy/tools.refinery.junit-conventions.gradle
+++ /dev/null
@@ -1,33 +0,0 @@
1plugins {
2 id 'jacoco'
3 id 'tools.refinery.java-conventions'
4}
5
6dependencies {
7 testImplementation libs.hamcrest
8 testImplementation libs.junit.api
9 testRuntimeOnly libs.junit.engine
10 testImplementation libs.junit.params
11 testImplementation libs.mockito.core
12 testImplementation libs.mockito.junit
13}
14
15def jacocoTestReport = tasks.named('jacocoTestReport')
16jacocoTestReport.configure {
17 dependsOn test
18 reports {
19 xml.required = true
20 }
21}
22
23tasks.named('test') {
24 useJUnitPlatform {
25 excludeTags 'slow'
26 }
27 finalizedBy jacocoTestReport
28}
29
30tasks.register('slowTest', Test) {
31 useJUnitPlatform()
32 finalizedBy jacocoTestReport
33}