diff --git a/btrace-agent/build.gradle b/btrace-agent/build.gradle index cd615077b..d77422a08 100644 --- a/btrace-agent/build.gradle +++ b/btrace-agent/build.gradle @@ -17,10 +17,10 @@ compileTestJava { // JDK 17+ to compile against, so pin this module's test dependency to the last JDK // 8-compatible release instead of the repo-wide catalog version. configurations.testCompileClasspath { - resolutionStrategy.force 'org.junit.jupiter:junit-jupiter:5.14.4' + resolutionStrategy.force 'org.junit.jupiter:junit-jupiter:6.1.2' } configurations.testRuntimeClasspath { - resolutionStrategy.force 'org.junit.jupiter:junit-jupiter:5.14.4' + resolutionStrategy.force 'org.junit.jupiter:junit-jupiter:6.1.2' } sourceSets { diff --git a/btrace-gradle-plugin/build.gradle b/btrace-gradle-plugin/build.gradle index 3cf5ef53b..72993b651 100644 --- a/btrace-gradle-plugin/build.gradle +++ b/btrace-gradle-plugin/build.gradle @@ -33,7 +33,7 @@ dependencies { // This is an included build and cannot access the root version catalog. Keep its tests on the // last Java 8-compatible JUnit line; the production plugin remains Java 11-compatible. testImplementation gradleTestKit() - testImplementation 'org.junit.jupiter:junit-jupiter:5.14.4' + testImplementation 'org.junit.jupiter:junit-jupiter:6.1.2' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } diff --git a/integration-tests/build.gradle b/integration-tests/build.gradle index 79e5103aa..f888e5df8 100644 --- a/integration-tests/build.gradle +++ b/integration-tests/build.gradle @@ -22,10 +22,10 @@ compileTestJava { // so pin this module's test dependency to the last JDK 8-compatible release instead of // the repo-wide catalog version. configurations.testCompileClasspath { - resolutionStrategy.force 'org.junit.jupiter:junit-jupiter:5.14.4' + resolutionStrategy.force 'org.junit.jupiter:junit-jupiter:6.1.2' } configurations.testRuntimeClasspath { - resolutionStrategy.force 'org.junit.jupiter:junit-jupiter:5.14.4' + resolutionStrategy.force 'org.junit.jupiter:junit-jupiter:6.1.2' } task buildEventsJar(type: Jar) {