From 2536cbcfaf678f73c778da9058589a49c5e3303e Mon Sep 17 00:00:00 2001 From: shuigedeng <981376577@qq.com> Date: Sat, 19 Oct 2024 16:18:56 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E5=8D=87=E7=BA=A7=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 14 +++++++------- gradle/checkstyle.gradle | 4 ++-- taotao-cloud-ddd-api/build.gradle | 4 ++-- taotao-cloud-ddd-domain/build.gradle | 14 ++++++++++---- taotao-cloud-ddd-integration/build.gradle | 2 +- 5 files changed, 22 insertions(+), 16 deletions(-) diff --git a/build.gradle b/build.gradle index bae5af3..7fab888 100644 --- a/build.gradle +++ b/build.gradle @@ -29,7 +29,7 @@ buildscript { mapstructProcessorVersion = "1.6.2" lombokMapstructBindingVersion = "0.2.0" lombokVersion = "1.18.34" - recordBuilderVersion = "42" + recordBuilderVersion = "43" } repositories { @@ -87,7 +87,7 @@ buildscript { /* 添加插件依赖路径(通过jar方式) */ //https://plugins.gradle.org/m2/com/github/spotbugs/snom/spotbugs-gradle-plugin/ - classpath "com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.23" + classpath "com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.25" //https://github.com/spring-io/spring-javaformat/ classpath "io.spring.javaformat:spring-javaformat-gradle-plugin:0.0.43" @@ -95,7 +95,7 @@ buildscript { //代码混淆工具 //https://github.com/Guardsquare/proguard //https://www.guardsquare.com/manual/quickstart - classpath "com.guardsquare:proguard-gradle:7.5.0" + classpath "com.guardsquare:proguard-gradle:7.6.0" //https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension //https://plugins.gradle.org/plugin/org.jetbrains.intellij @@ -139,7 +139,7 @@ plugins { // *******************************************第三方插件************************************************************ //google出品的一个插件,可以直接将SpringBoot构建推送到Docker仓库 //https://plugins.gradle.org/plugin/com.google.cloud.tools.jib - id "com.google.cloud.tools.jib" version "3.4.3" + id "com.google.cloud.tools.jib" version "3.4.4" //用于创建和管理外部进程的 Gradle 插件。 //https://plugins.gradle.org/plugin/com.github.johnrengelman.processes @@ -185,7 +185,7 @@ plugins { //https://github.com/diffplug/spotless/blob/main/plugin-gradle/README.md //https://plugins.gradle.org/plugin/com.diffplug.spotless - id "com.diffplug.spotless" version "7.0.0.BETA2" + id "com.diffplug.spotless" version "7.0.0.BETA3" //https://plugins.gradle.org/plugin/com.gorylenko.gradle-git-properties id "com.gorylenko.gradle-git-properties" version "2.4.2" @@ -199,7 +199,7 @@ plugins { //https://plugins.gradle.org/plugin/io.swagger.core.v3.swagger-gradle-plugin //https://github.com/swagger-api/swagger-core/tree/master/modules/swagger-gradle-plugin - id "io.swagger.core.v3.swagger-gradle-plugin" version "2.2.24" + id "io.swagger.core.v3.swagger-gradle-plugin" version "2.2.25" //id 'org.cyclonedx.bom' version '1.10.0' @@ -224,7 +224,7 @@ allprojects { // 统一group和version //group = "com.terra.ns.imp" //version = pLibs.versions.imp.service.get() - //java.sourceCompatibility = JavaVersion.VERSION_17 + //java.sourceCompatibility = JavaVersion.VERSION_21 //dependencies { // // bom 管理着一组依赖的版本,各模块按需引入其中的依赖即可,由bom统一约束着版本, diff --git a/gradle/checkstyle.gradle b/gradle/checkstyle.gradle index f1daa16..c60408a 100644 --- a/gradle/checkstyle.gradle +++ b/gradle/checkstyle.gradle @@ -1,10 +1,10 @@ apply plugin: 'checkstyle' checkstyle { - project.ext.checkstyleVersion = '10.18.1' + project.ext.checkstyleVersion = '10.18.2' // The version of the code quality tool to be used. // The most recent version of Checkstyle can be found at https://github.com/checkstyle/checkstyle/releases - toolVersion = "10.18.1" + toolVersion = "10.18.2" //https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml //configFile = file("${rootDir}/checkstyle/google_checks.xml") diff --git a/taotao-cloud-ddd-api/build.gradle b/taotao-cloud-ddd-api/build.gradle index 041b8e4..6e4e9f5 100644 --- a/taotao-cloud-ddd-api/build.gradle +++ b/taotao-cloud-ddd-api/build.gradle @@ -5,8 +5,8 @@ apply plugin: "com.google.protobuf" dependencies { api "io.github.shuigedeng:taotao-cloud-starter-openfeign" - compileOnly "org.apache.seata:seata-all:2.1.0" - compileOnly 'com.github.oshi:oshi-core:6.6.4' + compileOnly "org.apache.seata:seata-all:2.2.0" + compileOnly 'com.github.oshi:oshi-core:6.6.5' compileOnly "io.github.shuigedeng:taotao-boot-starter-office" compileOnly "io.github.shuigedeng:taotao-boot-starter-grpc" diff --git a/taotao-cloud-ddd-domain/build.gradle b/taotao-cloud-ddd-domain/build.gradle index ca42c44..9351390 100644 --- a/taotao-cloud-ddd-domain/build.gradle +++ b/taotao-cloud-ddd-domain/build.gradle @@ -58,11 +58,15 @@ dependencies { api project(":taotao-cloud-ddd-integration") api project(":taotao-cloud-ddd-common") - api "io.github.shuigedeng:taotao-cloud-starter-seata" + //cloud api "io.github.shuigedeng:taotao-cloud-starter-stream" - api "io.github.shuigedeng:taotao-cloud-starter-sentinel" - api "io.github.shuigedeng:taotao-cloud-starter-facility-alibaba" + api "io.github.shuigedeng:taotao-cloud-starter-alibaba" + api "io.github.shuigedeng:taotao-cloud-starter-ttc" + api "io.github.shuigedeng:taotao-cloud-starter-openfeign" + //boot + api "io.github.shuigedeng:taotao-boot-starter-seata" + api "io.github.shuigedeng:taotao-boot-starter-sentinel" api "io.github.shuigedeng:taotao-boot-starter-apollo" api "io.github.shuigedeng:taotao-boot-starter-dubbo" api "io.github.shuigedeng:taotao-boot-starter-eventbus" @@ -89,6 +93,8 @@ dependencies { api "io.github.shuigedeng:taotao-boot-starter-job-quartz" //api "io.github.shuigedeng:taotao-boot-starter-job-powerjob" //api "io.github.shuigedeng:taotao-boot-starter-job-snail" + api "io.github.shuigedeng:taotao-boot-starter-statemachine" + api "io.github.shuigedeng:taotao-boot-starter-flowengine" api "io.github.shuigedeng:taotao-boot-starter-web" //AVIATOR——轻量级JAVA表达式求值引擎 https://blog.csdn.net/ZhangQingmu/article/details/125087255 @@ -124,7 +130,7 @@ dependencies { //https://search.maven.org/artifact/com.github.gavlyukovskiy/datasource-proxy-spring-boot-starter api 'com.github.gavlyukovskiy:datasource-proxy-spring-boot-starter:1.9.2' - api 'com.github.oshi:oshi-core:6.6.4' + api 'com.github.oshi:oshi-core:6.6.5' api 'org.zalando:logbook-spring-boot-starter:3.9.0' api 'org.zalando:logbook-httpclient5:3.9.0' diff --git a/taotao-cloud-ddd-integration/build.gradle b/taotao-cloud-ddd-integration/build.gradle index 1ead7ac..9d6402b 100644 --- a/taotao-cloud-ddd-integration/build.gradle +++ b/taotao-cloud-ddd-integration/build.gradle @@ -18,7 +18,7 @@ dependencies { api "io.github.shuigedeng:taotao-cloud-goods-api:2024.11" - api "io.github.shuigedeng:taotao-cloud-starter-facility-alibaba" + api "io.github.shuigedeng:taotao-cloud-starter-alibaba" api "io.github.shuigedeng:taotao-boot-starter-grpc" api "io.github.shuigedeng:taotao-boot-starter-dubbo"