Skip to content

Commit ff7e40d

Browse files
pashidlosclaude
andauthored
build!: Java 25 in every example and in CI (#31)
The examples follow sdk-java 6.0, which requires Java 25, the latest LTS. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 56f57ec commit ff7e40d

12 files changed

Lines changed: 14 additions & 14 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- uses: actions/setup-java@v6
3939
with:
4040
distribution: temurin
41-
java-version: 17
41+
java-version: 25
4242
cache: maven
4343
cache-dependency-path: ${{ matrix.example }}/pom.xml
4444
- run: mvn -B test-compile
@@ -64,7 +64,7 @@ jobs:
6464
- uses: actions/setup-java@v6
6565
with:
6666
distribution: temurin
67-
java-version: 17
67+
java-version: 25
6868
- uses: gradle/actions/setup-gradle@v6
6969
- run: ./gradlew testClasses
7070
- name: Wait for Visual Regression Tracker
@@ -87,7 +87,7 @@ jobs:
8787
- uses: actions/setup-java@v6
8888
with:
8989
distribution: temurin
90-
java-version: 17
90+
java-version: 25
9191
cache: maven
9292
cache-dependency-path: ${{ matrix.example }}/pom.xml
9393
- run: mvn -B test-compile

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Visual Regression Tracker examples for Java
22

3-
Each folder is a separate project with its own build, `vrt.json.example` and README, on [sdk-java](https://github.com/Visual-Regression-Tracker/sdk-java) 5.5.0 from JitPack and Java 17 or later. The browser examples open https://the-internet.herokuapp.com headless and track screenshots in a [Visual Regression Tracker](https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker) 6.0 server.
3+
Each folder is a separate project with its own build, `vrt.json.example` and README, on [sdk-java](https://github.com/Visual-Regression-Tracker/sdk-java) 5.5.0 from JitPack and Java 25 or later. The browser examples open https://the-internet.herokuapp.com headless and track screenshots in a [Visual Regression Tracker](https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker) 6.0 server.
44

55
| Example | Stack | Client |
66
| ------------------------------------------------------------ | ---------------------------------------------------- | ----------------------------------------------------------------- |

‎appium-maven/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ CI only compiles this example: it needs macOS with an iOS simulator.
88

99
- macOS with Xcode and the simulator named in the test (`iPhone 12`, iOS 14.5); change `deviceName` and `platformVersion` to one you have
1010
- [Appium](https://appium.io/docs/en/latest/quickstart/) with the XCUITest driver: `npm install -g appium`, then `appium driver install xcuitest`
11-
- JDK 17 or later and Maven
11+
- JDK 25 or later and Maven
1212
- A running [Visual Regression Tracker](https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker) 6.0 server and its API key
1313

1414
## Setup

‎appium-maven/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<version>1.0-SNAPSHOT</version>
1010

1111
<properties>
12-
<maven.compiler.release>17</maven.compiler.release>
12+
<maven.compiler.release>25</maven.compiler.release>
1313
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1414
</properties>
1515

‎playwright/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Prerequisites
66

7-
- JDK 17 or later and Maven
7+
- JDK 25 or later and Maven
88
- A running [Visual Regression Tracker](https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker) 6.0 server and its API key
99

1010
## Setup

‎playwright/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<version>1.0-SNAPSHOT</version>
1010

1111
<properties>
12-
<maven.compiler.release>17</maven.compiler.release>
12+
<maven.compiler.release>25</maven.compiler.release>
1313
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1414
</properties>
1515

‎selenide-gradle/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Prerequisites
66

7-
- JDK 17 or later; the Gradle wrapper downloads Gradle
7+
- JDK 25 or later; the Gradle wrapper downloads Gradle
88
- Google Chrome; Selenium Manager downloads a matching chromedriver
99
- A running [Visual Regression Tracker](https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker) 6.0 server and its API key
1010

‎selenide-gradle/build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repositories {
88
}
99

1010
tasks.withType(JavaCompile).configureEach {
11-
options.release = 17
11+
options.release = 25
1212
}
1313

1414
dependencies {

‎selenium-maven/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Prerequisites
66

7-
- JDK 17 or later and Maven
7+
- JDK 25 or later and Maven
88
- Google Chrome; Selenium Manager downloads a matching chromedriver
99
- A running [Visual Regression Tracker](https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker) 6.0 server and its API key
1010

‎selenium-maven/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<version>1.0-SNAPSHOT</version>
1010

1111
<properties>
12-
<maven.compiler.release>17</maven.compiler.release>
12+
<maven.compiler.release>25</maven.compiler.release>
1313
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1414
</properties>
1515

0 commit comments

Comments
 (0)