From 9e4712f538ddff8e2a084372881c9bdbdab7a028 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2026 15:17:47 +0000 Subject: [PATCH 1/2] Bump org.junit.jupiter:junit-jupiter from 5.7.2 to 6.1.1 Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit-framework) from 5.7.2 to 6.1.1. - [Release notes](https://github.com/junit-team/junit-framework/releases) - [Commits](https://github.com/junit-team/junit-framework/compare/r5.7.2...r6.1.1) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter dependency-version: 6.1.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- lib/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build.gradle b/lib/build.gradle index c0a5ce2..3b30426 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -26,7 +26,7 @@ def getKeyPassword() { } dependencies { - testImplementation 'org.junit.jupiter:junit-jupiter:5.7.2' + testImplementation 'org.junit.jupiter:junit-jupiter:6.1.1' testImplementation "com.github.tomakehurst:wiremock-jre8:2.32.0" testImplementation "org.mockito:mockito-core:3.12.4" From 7824e6344f67088fe6f3bef17090b8985d195d77 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 7 Jul 2026 15:55:55 +0000 Subject: [PATCH 2/2] Fix build breakage from junit-jupiter 6.1.1 bump JUnit 6 requires Java 17+ at runtime, which conflicts with this project's Java 8 sourceCompatibility/targetCompatibility and with Gradle's variant-aware dependency resolution (it refuses to resolve junit-jupiter:6.1.1 against a testCompileClasspath targeting JVM 8). Scope the test source set's compile target to 17 independently of the shipped library's Java 8 target, which is unaffected since test classes aren't published. Also add an explicit junit-platform-launcher:6.1.1 testRuntimeOnly dependency, since Gradle 8.14's bundled launcher is incompatible with junit-platform-engine 6.1.1 ("OutputDirectoryCreator not available"). Regenerate lib/gradle.lockfile, which dependabot did not update - without this the build fails immediately since junit-jupiter is locked to 5.7.2. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01UNVF4uDsN8UroVU635P69h --- lib/build.gradle | 6 ++++++ lib/gradle.lockfile | 20 +++++++++++--------- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/lib/build.gradle b/lib/build.gradle index 3b30426..24bf609 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -27,6 +27,7 @@ def getKeyPassword() { dependencies { testImplementation 'org.junit.jupiter:junit-jupiter:6.1.1' + testRuntimeOnly 'org.junit.platform:junit-platform-launcher:6.1.1' testImplementation "com.github.tomakehurst:wiremock-jre8:2.32.0" testImplementation "org.mockito:mockito-core:3.12.4" @@ -44,6 +45,11 @@ java { targetCompatibility = JavaVersion.VERSION_1_8 } +tasks.named('compileTestJava', JavaCompile) { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 +} + tasks.named('test', Test) { useJUnitPlatform() } diff --git a/lib/gradle.lockfile b/lib/gradle.lockfile index cc4d350..912a6a8 100644 --- a/lib/gradle.lockfile +++ b/lib/gradle.lockfile @@ -34,7 +34,7 @@ org.apache.httpcomponents.core5:httpcore5-h2:5.1.1=testCompileClasspath,testRunt org.apache.httpcomponents.core5:httpcore5:5.1.1=testCompileClasspath,testRuntimeClasspath org.apache.httpcomponents:httpclient:4.5.13=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath org.apache.httpcomponents:httpcore:4.4.13=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.apiguardian:apiguardian-api:1.1.0=testCompileClasspath,testRuntimeClasspath +org.apiguardian:apiguardian-api:1.1.2=testCompileClasspath org.bouncycastle:bcprov-jdk15on:1.70=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath org.checkerframework:checker-qual:3.12.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath org.eclipse.jetty.http2:http2-common:9.4.44.v20210927=testCompileClasspath,testRuntimeClasspath @@ -62,16 +62,18 @@ org.eclipse.jetty:jetty-webapp:9.4.44.v20210927=testCompileClasspath,testRuntime org.eclipse.jetty:jetty-xml:9.4.44.v20210927=testCompileClasspath,testRuntimeClasspath org.hamcrest:hamcrest-core:2.2=testCompileClasspath,testRuntimeClasspath org.hamcrest:hamcrest:2.2=testCompileClasspath,testRuntimeClasspath -org.junit.jupiter:junit-jupiter-api:5.7.2=testCompileClasspath,testRuntimeClasspath -org.junit.jupiter:junit-jupiter-engine:5.7.2=testRuntimeClasspath -org.junit.jupiter:junit-jupiter-params:5.7.2=testCompileClasspath,testRuntimeClasspath -org.junit.jupiter:junit-jupiter:5.7.2=testCompileClasspath,testRuntimeClasspath -org.junit.platform:junit-platform-commons:1.7.2=testCompileClasspath,testRuntimeClasspath -org.junit.platform:junit-platform-engine:1.7.2=testRuntimeClasspath -org.junit:junit-bom:5.7.2=testCompileClasspath,testRuntimeClasspath +org.jspecify:jspecify:1.0.0=testCompileClasspath +org.junit.jupiter:junit-jupiter-api:6.1.1=testCompileClasspath,testRuntimeClasspath +org.junit.jupiter:junit-jupiter-engine:6.1.1=testRuntimeClasspath +org.junit.jupiter:junit-jupiter-params:6.1.1=testCompileClasspath,testRuntimeClasspath +org.junit.jupiter:junit-jupiter:6.1.1=testCompileClasspath,testRuntimeClasspath +org.junit.platform:junit-platform-commons:6.1.1=testCompileClasspath,testRuntimeClasspath +org.junit.platform:junit-platform-engine:6.1.1=testRuntimeClasspath +org.junit.platform:junit-platform-launcher:6.1.1=testRuntimeClasspath +org.junit:junit-bom:6.1.1=testCompileClasspath,testRuntimeClasspath org.mockito:mockito-core:3.12.4=testCompileClasspath,testRuntimeClasspath org.objenesis:objenesis:3.2=testCompileClasspath,testRuntimeClasspath -org.opentest4j:opentest4j:1.2.0=testCompileClasspath,testRuntimeClasspath +org.opentest4j:opentest4j:1.3.0=testCompileClasspath,testRuntimeClasspath org.ow2.asm:asm:9.2=testCompileClasspath,testRuntimeClasspath org.slf4j:slf4j-api:1.7.32=testCompileClasspath,testRuntimeClasspath org.xmlunit:xmlunit-core:2.8.3=testCompileClasspath,testRuntimeClasspath