Skip to content

Commit 57b5ba9

Browse files
Merge pull request #81 from marianobarrios/use-gradle-test-suites
Use Gradle test suites
2 parents cdae7e9 + 9a753ba commit 57b5ba9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

build.gradle

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins {
22
id 'java'
3+
id 'jvm-test-suite'
34
id 'signing'
45
id 'maven-publish'
56
id "com.diffplug.spotless" version "7.2.1"
@@ -36,14 +37,21 @@ repositories {
3637

3738
dependencies {
3839
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.13.4'
39-
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.13.4'
4040
}
4141

4242
java {
4343
withSourcesJar()
4444
withJavadocJar()
4545
}
4646

47+
testing {
48+
suites {
49+
test {
50+
useJUnitJupiter()
51+
}
52+
}
53+
}
54+
4755
publishing {
4856
publications {
4957
lbmq(MavenPublication) {

0 commit comments

Comments
 (0)