Upgrade Spring Boot to 3.1.3 (#4478)

#### What type of PR is this?

/kind cleanup
/area core
/milestone 2.9.x

#### What this PR does / why we need it:

This PR upgrades Spring Boot to 3.1.3. See https://github.com/spring-projects/spring-boot/releases/tag/v3.1.3 for more.

#### Does this PR introduce a user-facing change?

```release-note
升级依赖 Spring Boot 至 3.1.3
```
pull/4487/head
John Niang 2023-08-25 16:40:11 +08:00 committed by GitHub
parent 141e22e2c6
commit 229bcafe71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 7 deletions

View File

@ -1,10 +1,8 @@
package run.halo.app.infra.utils; package run.halo.app.infra.utils;
import java.io.IOException;
import java.util.function.Supplier; import java.util.function.Supplier;
import net.bytebuddy.ByteBuddy; import net.bytebuddy.ByteBuddy;
import net.bytebuddy.description.type.TypeDescription; import net.bytebuddy.description.type.TypeDescription;
import reactor.core.Exceptions;
public enum GenericClassUtils { public enum GenericClassUtils {
; ;
@ -40,9 +38,6 @@ public enum GenericClassUtils {
.name(nameGenerator.get()) .name(nameGenerator.get())
.make()) { .make()) {
return unloaded.load(parameterType.getClassLoader()).getLoaded(); return unloaded.load(parameterType.getClassLoader()).getLoaded();
} catch (IOException e) {
// Should never happen
throw Exceptions.propagate(e);
} }
} }
} }

View File

@ -1,5 +1,5 @@
plugins { plugins {
id 'org.springframework.boot' version '3.1.2' id 'org.springframework.boot' version '3.1.3'
id 'io.spring.dependency-management' version '1.1.0' id 'io.spring.dependency-management' version '1.1.0'
id "com.gorylenko.gradle-git-properties" version "2.3.2" id "com.gorylenko.gradle-git-properties" version "2.3.2"
id "checkstyle" id "checkstyle"

View File

@ -1,7 +1,7 @@
import org.springframework.boot.gradle.plugin.SpringBootPlugin import org.springframework.boot.gradle.plugin.SpringBootPlugin
plugins { plugins {
id 'org.springframework.boot' version '3.1.2' apply false id 'org.springframework.boot' version '3.1.3' apply false
id 'java-platform' id 'java-platform'
id 'halo.publish' id 'halo.publish'
id 'signing' id 'signing'