Skip to content

Commit 562e23c

Browse files
committed
later gradle syntax
1 parent e6f167e commit 562e23c

5 files changed

Lines changed: 13 additions & 0 deletions

File tree

build-logic/src/main/groovy/org.apache.groovy-performance.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ repositories {
4444
dependencies {
4545
jmh project(":")
4646
testImplementation project(":")
47+
testImplementation "junit:junit:${versions.junit}"
4748
stats "org.apache.commons:commons-math3:${versions.commonsMath3}"
4849
}
4950

subprojects/groovy-contracts/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ dependencies {
2929
exclude group: 'org.codehaus.groovy'
3030
}
3131
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:${versions.junit5}")
32+
testRuntimeOnly("org.junit.platform:junit-platform-launcher:${versions.junit5Platform}") {
33+
exclude(group: 'org.apiguardian', module: 'apiguardian-api')
34+
}
3235
}
3336

3437
tasks.named('test') {

subprojects/groovy-nio/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ dependencies {
2727
testImplementation("org.spockframework:spock-junit4:${versions.spock}") {
2828
exclude group: 'org.codehaus.groovy'
2929
}
30+
testRuntimeOnly("org.junit.platform:junit-platform-launcher:${versions.junit5Platform}") {
31+
exclude(group: 'org.apiguardian', module: 'apiguardian-api')
32+
}
3033
}
3134

3235
groovyLibrary {

subprojects/groovy-templates/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ dependencies {
3030
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:${versions.junit5}") {
3131
because 'for JUnit 3/4 tests as well as JUnit 5'
3232
}
33+
testRuntimeOnly("org.junit.platform:junit-platform-launcher:${versions.junit5Platform}") {
34+
exclude(group: 'org.apiguardian', module: 'apiguardian-api')
35+
}
3336
}
3437

3538
tasks.named('test') {

subprojects/groovy-xml/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ dependencies {
3737
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:${versions.junit5}") {
3838
because 'for JUnit 3/4 tests as well as JUnit 5'
3939
}
40+
testRuntimeOnly("org.junit.platform:junit-platform-launcher:${versions.junit5Platform}") {
41+
exclude(group: 'org.apiguardian', module: 'apiguardian-api')
42+
}
4043
}
4144

4245
plugins.withId('eclipse') {

0 commit comments

Comments
 (0)