Skip to content

Commit 6feeae0

Browse files
committed
Switch to building the project with Java 25
Closes gh-2101
1 parent 7deaa78 commit 6feeae0

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

.github/workflows/gradle-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
java: [ '24' ]
18+
java: [ '25' ]
1919

2020
steps:
2121
- uses: actions/checkout@v4

.github/workflows/maven-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
java: [ '24' ]
18+
java: [ '25' ]
1919

2020
steps:
2121
- uses: actions/checkout@v4

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ out/
4242
### VS Code ###
4343
.vscode/
4444

45-
### SDK Man ###
46-
.sdkmanrc
47-
4845
### CSS ###
4946
_site/
5047
*.css

.sdkmanrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Enable auto-env through the sdkman_auto_env config
2+
# Add key=value pairs of SDKs to use below
3+
java=25-librca

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the presentation here:
1414
## Run Petclinic locally
1515

1616
Spring Petclinic is a [Spring Boot](https://spring.io/guides/gs/spring-boot) application built using [Maven](https://spring.io/guides/gs/maven/) or [Gradle](https://spring.io/guides/gs/gradle/).
17-
Java 24 or later is required for the build, but the application can run with Java 17 or newer:
17+
Java 25 or later is required for the build, but the application can run with Java 17 or newer:
1818

1919
```bash
2020
git clone https://github.com/spring-projects/spring-petclinic.git
@@ -98,7 +98,7 @@ There is a `petclinic.css` in `src/main/resources/static/resources/css`. It was
9898

9999
The following items should be installed in your system:
100100

101-
- Java 24 or newer (full JDK, not a JRE)
101+
- Java 25 or newer (full JDK, not a JRE)
102102
- [Git command line tool](https://help.github.com/articles/set-up-git)
103103
- Your preferred IDE
104104
- Eclipse with the m2e plugin. Note: when m2e is available, there is an m2 icon in `Help -> About` dialog. If m2e is

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ version = '4.0.0-SNAPSHOT'
1717

1818
java {
1919
toolchain {
20-
languageVersion = JavaLanguageVersion.of(24)
20+
languageVersion = JavaLanguageVersion.of(25)
2121
}
2222
}
2323

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<properties>
1919

2020
<!-- Generic properties -->
21-
<java.version>24</java.version>
21+
<java.version>25</java.version>
2222
<maven.compiler.release>17</maven.compiler.release>
2323
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2424
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

0 commit comments

Comments
 (0)