From c0c1806476ada9baca53f787d32f530076a3936c Mon Sep 17 00:00:00 2001 From: John Niang Date: Tue, 9 May 2023 12:31:43 +0800 Subject: [PATCH] Upgrade to Spring Boot 3.1.0-RC2 (#3917) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /kind cleanup /area core #### What this PR does / why we need it: Upgrade to Spring Boot 3.1.0-RC2. See https://github.com/spring-projects/spring-boot/releases/tag/v3.1.0-RC2 and https://github.com/spring-projects/spring-boot/releases/tag/v3.1.0-RC1 for more. #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/3816 #### Does this PR introduce a user-facing change? ```release-note 升级 Spring Boot 至 3.1.0-RC2 ``` --- api/build.gradle | 1 + application/build.gradle | 3 +-- platform/application/build.gradle | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/build.gradle b/api/build.gradle index b1ed024d0..c6b691aed 100644 --- a/api/build.gradle +++ b/api/build.gradle @@ -9,6 +9,7 @@ description = 'API of halo project, connecting by other projects.' repositories { mavenCentral() + maven { url 'https://repo.spring.io/milestone' } } dependencies { diff --git a/application/build.gradle b/application/build.gradle index cbf59f9a5..daa01139e 100644 --- a/application/build.gradle +++ b/application/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'org.springframework.boot' version '3.0.6' + id 'org.springframework.boot' version '3.1.0-RC2' id 'io.spring.dependency-management' version '1.1.0' id "com.gorylenko.gradle-git-properties" version "2.3.2" id "checkstyle" @@ -22,7 +22,6 @@ repositories { mavenCentral() maven { url 'https://repo.spring.io/milestone' } - mavenLocal() } diff --git a/platform/application/build.gradle b/platform/application/build.gradle index a57d2cb64..33ae74138 100644 --- a/platform/application/build.gradle +++ b/platform/application/build.gradle @@ -1,7 +1,7 @@ import org.springframework.boot.gradle.plugin.SpringBootPlugin plugins { - id 'org.springframework.boot' version '3.0.6' apply false + id 'org.springframework.boot' version '3.1.0-RC2' apply false id 'java-platform' id 'halo.publish' id 'signing'