diff --git a/README.md b/README.md index 1b983ee96..2a756bbf9 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,8 @@ See the presentation here: ## Run Petclinic locally -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/). You can build a JAR file and run it from the command line (it should work just as well with Java 17 or newer): +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/). +Java 24 or later is required for the build, but the application can run with Java 17 or newer: ```bash git clone https://github.com/spring-projects/spring-petclinic.git @@ -97,7 +98,7 @@ There is a `petclinic.css` in `src/main/resources/static/resources/css`. It was The following items should be installed in your system: -- Java 17 or newer (full JDK, not a JRE) +- Java 24 or newer (full JDK, not a JRE) - [Git command line tool](https://help.github.com/articles/set-up-git) - Your preferred IDE - Eclipse with the m2e plugin. Note: when m2e is available, there is an m2 icon in `Help -> About` dialog. If m2e is diff --git a/build.gradle b/build.gradle index 7d2eefdd6..cf980abe1 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ plugins { id 'java' id 'checkstyle' - id 'org.springframework.boot' version '3.5.0' + id 'org.springframework.boot' version '4.0.0-M3' id 'io.spring.dependency-management' version '1.1.7' id 'org.graalvm.buildtools.native' version '0.11.1' id 'org.cyclonedx.bom' version '3.0.0' @@ -30,8 +30,8 @@ ext.springJavaformatCheckstyleVersion = "0.0.47" ext.webjarsLocatorLiteVersion = "1.1.1" ext.webjarsFontawesomeVersion = "4.7.0" ext.webjarsBootstrapVersion = "5.3.8" -ext.errorProneVersion = "2.41.0" -ext.nullAwayVersion = "0.12.9" +ext.errorProneVersion = "2.42.0" +ext.nullAwayVersion = "0.12.10" dependencies { implementation 'org.springframework.boot:spring-boot-starter-cache' diff --git a/pom.xml b/pom.xml index 189ea605e..b3b9e3783 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 4.0.0-M2 + 4.0.0-M3 @@ -31,15 +31,14 @@ 4.7.0 11.1.0 + 2.42.0 0.8.13 0.3.4 1.0.0 3.6.0 0.0.11 + 0.12.10 0.0.47 - - 2.41.0 - 0.12.9 @@ -72,7 +71,8 @@ org.springframework.boot spring-boot-starter-test test - + + org.springframework.boot spring-boot-starter-restclient test