Repository navigation
build!: Gradle 9, Java 25, current dependencies and CI - #122
Merged
Merged
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## next #122 +/- ##
=======================================
Coverage ? 91.82%
Complexity ? 68
=======================================
Files ? 8
Lines ? 269
Branches ? 22
=======================================
Hits ? 247
Misses ? 18
Partials ? 4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
- Gradle 6.1 -> 9.8.2 with a plugins {} block; freefair lombok 5.1.1 -> 9.8.3.
- Compile with release 17; CI runs on Java 17, 21 and 25; JitPack uses openjdk17.
- Drop the shadow plugin: nothing configured it and JitPack publishes the plain jar.
- Publish through maven-publish with a sources jar; group and version live in
gradle.properties, so JitPack's -Pgroup/-Pversion from the tag override them.
- gson 2.15.0, slf4j 2.0.20; test deps to latest, mockwebserver3, hamcrest explicit,
commons-io removed (unused), mockito attached as a javaagent.
- CI: checkout v7, setup-java v6, wrapper validation, codecov v7 over OIDC;
the required `build` check aggregates the matrix and runs JitPack's commands.
- Dependabot weekly with minor-patch/major/security groups, plus github-actions.
BREAKING CHANGE: Java 17 or later is required.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…adle; lazy mockito agent Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… on cancelled runs, MIT cache provider Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pashidlos
force-pushed
the
build/gradle-9-java-17
branch
from
November 2, 2026 21:30
9e06496 to
b01989f
Compare
An apiUrl such as http://localhost:4200/ produced requests to //builds and //test-runs. The URL is now stripped of trailing slashes whether it comes from the constructor, the builder, VRT_APIURL or vrt.json, as sdk-python does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…radle dependency graph - logback-classic 1.5.16 -> 1.5.38 (CVE-2025-11226, CVE-2026-1225, CVE-2026-9828, CVE-2026-10532) - mockwebserver 4.11.0 -> 4.12.0: okio 3.6.0 (CVE-2023-3635), junit 4.13.2 (CVE-2020-15250) - drop the unused shadow 5.2.0 plugin and its log4j 2.11, ant 1.9.7, jdom2, plexus-utils and commons-io 2.6 build classpath; JitPack publishes the plain jar - submit the Gradle dependency graph on pushes to master so Dependabot alerts see Gradle dependencies at all Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 9 branch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The minimum runtime is the latest LTS, Java 25 (release 25). CI builds on 25 and on 27, the newest non-LTS JDK, as a non-blocking forward-compatibility check. JitPack and the dependency graph build on JDK 25. BREAKING CHANGE: the SDK now requires Java 25 or later. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Toolchain refresh for phase 2: Gradle 9, Java 25, current dependencies, CI and Dependabot.
Important
Breaking: Java 25, the latest LTS, is now the minimum (it was 11). Proposed release:
6.0.0. Release it together with the other SDK majors after the server 6.0 release; don't merge it before then.This branch includes #124 (trailing-slash fix) and #125 (dependency sweep) through a merge commit, without rewriting history. Until those two merge, this PR's diff also shows their changes. Merge order: #124 → #125 → this PR → #123. #124 and #125 can merge now (#124 releases 5.6.1).
Build
distributionSha256Sum.plugins {}block, and freefair lombok goes 5.1.1 → 9.8.3. This supersedes Bump io.freefair.gradle:lombok-plugin from 5.1.1 to 9.8.3 #120, which fails because lombok 9 needs Gradle 9. Dependabot closes Bump io.freefair.gradle:lombok-plugin from 5.1.1 to 9.8.3 #120 by itself once this lands onmaster.release 25(class files version 69). CI runs on 25. It also runs on 27, the newest non-LTS JDK, as a forward-compatibility leg withcontinue-on-error: it shows red if 27 breaks, but the required check doesn't fail.jitpack.ymlusesopenjdk25, and JitPack resolves that to JDK 25.0.1.maven-publishnow has an explicit publication and a sources jar.groupandversionmoved togradle.properties. The local default is0.0.0-SNAPSHOT, and the staleversion '4.3.1'is gone../gradlew clean -Pgroup=com.github.Visual-Regression-Tracker -Pversion=<tag> -xtest publishToMavenLocal, and its-Pversionoverrides that default. The artifact version is therefore the tag; until now the POM said 4.3.1.Dependencies
Consumers who log through SLF4J 1.7 bindings need an SLF4J 2 provider; logback 1.3+ and log4j-slf4j2-impl both work.
CI and tooling
actions/checkout@v7,actions/setup-java@v6,gradle/actions/setup-gradle@v6(wrapper validation, MITbasiccache),codecov/codecov-action@v7over OIDC. Deadcodecov-action@v1.0.12replaced (last upload 2024-10).testruns on 25 and 27 (27 non-blocking). The Java 25 leg also uploads coverage and runs JitPack's exact command.dependency-submission.ymlfrom chore(deps): fix vulnerable test and build dependencies, submit the Gradle dependency graph #125 builds on 25. The required checkbuildis a gate over the whole matrix, so branch protection needs no change.pull_requesttriggers: runs for any base branch, so stacked PRs get CI too, plus aconcurrencygroup.gradle: weekly, limit 5, withgradle-minor-patch,gradle-majorandgradle-securitygroups;github-actions: one group;CODACY_TOKENsecret in repo settings. There is no SonarCloud.Verification
./gradlew buildineclipse-temurin:25and:27: 63 tests pass on each.eclipse-temurin:25passes. Class files are version 69 (Java 25).dependencies+buildEnvironment): 32 packages, 0 known vulnerabilities. Every declared dependency is on its latest stable release.visualregressiontracker/api:6.0.0-rc1(the examples-java CI compose file): base64, bytes and file tracking,sourceBranch,comment,merge, 413 → multipart,UNRESOLVED,stop. All pass.6ff258f527of this branch (build log):openjdk25→ JDK 25.0.1, Gradle 9.8.2, BUILD SUCCESSFUL. The POM lists gson 2.15.0 and slf4j-api 2.0.20.system-stubs attaches byte-buddy dynamically, so the test JVM runs with
-XX:+EnableDynamicAgentLoading. That keeps the warning out of the test reports and works on 25+.🤖 Generated with Claude Code