Skip to content

Commit

Permalink
build: 开启2024.10
Browse files Browse the repository at this point in the history
  • Loading branch information
shuigedeng committed Sep 7, 2024
1 parent 763ae82 commit 7ac0fd1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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.20"
classpath "com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.21"

//https://github.com/spring-io/spring-javaformat/
classpath "io.spring.javaformat:spring-javaformat-gradle-plugin:0.0.43"
Expand Down Expand Up @@ -155,7 +155,7 @@ plugins {

//OWASP 依赖检查插件。
//https://plugins.gradle.org/plugin/org.owasp.dependencycheck
id "org.owasp.dependencycheck" version "10.0.3"
id "org.owasp.dependencycheck" version "10.0.4"

//用于管理 Docker 镜像和容器的 Gradle 插件。
//https://plugins.gradle.org/plugin/com.bmuschko.docker-spring-boot-application
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ org.gradle.daemon=true
#JVM\u5806\u5185\u5B58\u5927\u5C0F
org.gradle.jvmargs=-Xmx4096m \
-Xms1024m \
-XX:ReservedCodeCacheSize=2048m \
-XX:ReservedCodeCacheSize=1024m \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:+UseG1GC \
-XX:+UseZGC \
-XX:SoftRefLRUPolicyMSPerMB=50 \
-XX:CICompilerCount=2 \
-XX:+HeapDumpOnOutOfMemoryError \
Expand Down
4 changes: 2 additions & 2 deletions gradle/checkstyle.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apply plugin: 'checkstyle'

checkstyle {
project.ext.checkstyleVersion = '10.17.0'
project.ext.checkstyleVersion = '10.18.1'
// 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.17.0"
toolVersion = "10.18.1"

//https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
//configFile = file("${rootDir}/checkstyle/google_checks.xml")
Expand Down
2 changes: 1 addition & 1 deletion gradle/pmd.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pmd {
reportsDir = file("${project.layout.buildDirectory.asFile.get()}/code-analysis/pmdReportsDir")
//https://github.com/pmd/pmd/releases
// 要使用的PMD版本
toolVersion = "7.4.0"
toolVersion = "7.5.0"
//要使用的自定义规则集文件路径,可以在files()中填多个路径。
ruleSetFiles = files(rootProject.file('code-analysis/pmd/pmd.xml'))
//跟ruleSetFiles的作用一样,不过只能填一个文件路径。
Expand Down

0 comments on commit 7ac0fd1

Please sign in to comment.