Skip to content

Commit 125af31

Browse files
committed
Migrating Gradle to Test Suites
1 parent 29efc4b commit 125af31

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

build.gradle

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins {
22
id 'java'
3+
id 'jvm-test-suite'
34
id 'maven-publish'
45
id 'jacoco'
56
id 'io.freefair.lombok'
@@ -19,14 +20,16 @@ repositories {
1920

2021
dependencies {
2122
testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.18.3'
22-
testImplementation platform('org.junit:junit-bom:5.11.3')
23-
testImplementation 'org.junit.jupiter:junit-jupiter'
2423
testImplementation 'org.reflections:reflections:0.10.2'
2524
testImplementation 'uk.co.jemos.podam:podam:8.0.2.RELEASE'
2625
}
2726

28-
test {
29-
useJUnitPlatform()
27+
testing {
28+
suites {
29+
test {
30+
useJUnitJupiter()
31+
}
32+
}
3033
}
3134

3235
publishing {

0 commit comments

Comments
 (0)