提交 64847f23 作者: 方治民

chore: upgrade deps & spring-boot v3.3.0

上级 7db3fa11
...@@ -2,8 +2,8 @@ plugins { ...@@ -2,8 +2,8 @@ plugins {
id 'java' id 'java'
id 'java-library' id 'java-library'
// https://start.spring.io // https://start.spring.io
id 'org.springframework.boot' version '3.2.5' id 'org.springframework.boot' version '3.3.0'
id 'org.graalvm.buildtools.native' version '0.9.28' id 'org.graalvm.buildtools.native' version '0.10.2'
// https://plugins.gradle.org/plugin/io.spring.dependency-management // https://plugins.gradle.org/plugin/io.spring.dependency-management
id 'io.spring.dependency-management' version '1.1.5' id 'io.spring.dependency-management' version '1.1.5'
// https://plugins.gradle.org/plugin/com.diffplug.spotless // https://plugins.gradle.org/plugin/com.diffplug.spotless
...@@ -25,35 +25,35 @@ ext { ...@@ -25,35 +25,35 @@ ext {
// SpringCloud // SpringCloud
// https://start.spring.io/ // https://start.spring.io/
springCloudVersion = '2023.0.1' springCloudVersion = '2023.0.2'
// SpringBootAdmin // SpringBootAdmin
// https://central.sonatype.com/artifact/de.codecentric/spring-boot-admin-starter-server // https://central.sonatype.com/artifact/de.codecentric/spring-boot-admin-starter-server
springBootAdminVersion = '3.2.3' springBootAdminVersion = '3.3.2'
// Sentry // Sentry
// https://central.sonatype.com/artifact/io.sentry/sentry-spring-boot-starter-jakarta // https://central.sonatype.com/artifact/io.sentry/sentry-spring-boot-starter-jakarta
sentryVersion = '7.9.0' sentryVersion = '7.10.0'
// Dependencies // Dependencies
// https://central.sonatype.com/artifact/com.github.xiaoymin/knife4j-openapi3-jakarta-spring-boot-starter // https://central.sonatype.com/artifact/com.github.xiaoymin/knife4j-openapi3-jakarta-spring-boot-starter
knife4jOpen3Version = '4.5.0' knife4jOpen3Version = '4.5.0'
// https://central.sonatype.com/artifact/io.swagger.core.v3/swagger-annotations // https://central.sonatype.com/artifact/io.swagger.core.v3/swagger-annotations
swaggerAnnotationsVersion = '2.2.21' swaggerAnnotationsVersion = '2.2.22'
// https://central.sonatype.com/artifact/cn.dev33/sa-token-spring-boot3-starter // https://central.sonatype.com/artifact/cn.dev33/sa-token-spring-boot3-starter
saTokenVersion = '1.38.0' saTokenVersion = '1.38.0'
// https://central.sonatype.com/artifact/cn.hutool/hutool-core // https://central.sonatype.com/artifact/cn.hutool/hutool-core
hutoolVersion = '5.8.27' hutoolVersion = '5.8.28'
// https://central.sonatype.com/artifact/com.alibaba.fastjson2/fastjson2 // https://central.sonatype.com/artifact/com.alibaba.fastjson2/fastjson2
fastJsonVersion = '2.0.50' fastJsonVersion = '2.0.51'
// https://central.sonatype.com/artifact/com.xuxueli/xxl-job-core // https://central.sonatype.com/artifact/com.xuxueli/xxl-job-core
xxlJobVersion = '2.4.1' xxlJobVersion = '2.4.1'
// https://central.sonatype.com/artifact/io.minio/minio // https://central.sonatype.com/artifact/io.minio/minio
minioVersion = '8.5.10' minioVersion = '8.5.10'
// https://central.sonatype.com/artifact/io.hypersistence/hypersistence-utils-hibernate-63 // https://central.sonatype.com/artifact/io.hypersistence/hypersistence-utils-hibernate-63
hibernateTypesVersion = '3.7.5' hibernateTypesVersion = '3.7.6'
// https://central.sonatype.com/artifact/org.hibernate.orm/hibernate-spatial // https://central.sonatype.com/artifact/org.hibernate.orm/hibernate-spatial
hibernateSpatialVersion = '6.4.8.Final' hibernateSpatialVersion = '6.4.9.Final'
// https://central.sonatype.com/artifact/org.locationtech.jts/jts-core // https://central.sonatype.com/artifact/org.locationtech.jts/jts-core
jtsVersion = '1.19.0' jtsVersion = '1.19.0'
// https://mvnrepository.com/artifact/org.n52.jackson/jackson-datatype-jts // https://mvnrepository.com/artifact/org.n52.jackson/jackson-datatype-jts
...@@ -69,6 +69,12 @@ ext { ...@@ -69,6 +69,12 @@ ext {
ffmpegWrapperVersion = '0.8.0' ffmpegWrapperVersion = '0.8.0'
} }
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
allprojects { allprojects {
repositories { repositories {
mavenLocal() mavenLocal()
...@@ -78,8 +84,6 @@ allprojects { ...@@ -78,8 +84,6 @@ allprojects {
maven { url 'https://maven.aliyun.com/repository/public' } maven { url 'https://maven.aliyun.com/repository/public' }
mavenCentral() mavenCentral()
} }
sourceCompatibility = '17'
} }
subprojects { subprojects {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
plugins { plugins {
// https://plugins.gradle.org/plugin/org.danilopianini.gradle-pre-commit-git-hooks // https://plugins.gradle.org/plugin/org.danilopianini.gradle-pre-commit-git-hooks
id "org.danilopianini.gradle-pre-commit-git-hooks" version "2.0.5" id "org.danilopianini.gradle-pre-commit-git-hooks" version "2.0.7"
} }
rootProject.name = 'basic-api-boot' rootProject.name = 'basic-api-boot'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论