Skip to content

Commit abf5228

Browse files
committed
Updating a few dependencies
1 parent 97e5302 commit abf5228

File tree

3 files changed

+13
-16
lines changed

3 files changed

+13
-16
lines changed

build.gradle

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
buildscript {
22
ext {
33
applicationDefaultJvmArgs = ['-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005']
4-
spotbugsVersion = '1.6.8'
54
toolVersion = '3.1.10'
65
}
76
repositories {
87
mavenCentral()
98
maven {
10-
url "https://plugins.gradle.org/m2/"
9+
url = uri("https://plugins.gradle.org/m2/")
1110
}
1211
}
1312
}
1413

1514
plugins {
1615
id 'java'
1716
id 'idea'
18-
id 'org.springframework.boot' version '3.4.1'
17+
id 'org.springframework.boot' version '3.5.8'
1918
id 'io.spring.dependency-management' version '1.1.7'
20-
//id 'net.ltgt.errorprone' version '0.8.1'
21-
//id 'com.github.spotbugs' version '1.6.8' apply false
2219
}
2320

2421
group = 'com.knowledge.share'

gradle/dependencies.gradle

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ dependencies {
77
implementation 'com.slack.api:bolt-jakarta-servlet:1.46.0'
88

99
implementation 'com.h2database:h2'
10-
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
10+
implementation 'com.squareup.okhttp3:okhttp:5.3.2'
1111

12-
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.24.3'
12+
implementation 'org.springframework.boot:spring-boot-starter-log4j2'
1313

1414
testImplementation('org.springframework.boot:spring-boot-starter-test') {
1515
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
@@ -21,3 +21,9 @@ dependencies {
2121
testImplementation("org.mockito:mockito-core")
2222
testImplementation("org.powermock:powermock-api-mockito2:2.0.9")
2323
}
24+
25+
configurations {
26+
all {
27+
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
28+
}
29+
}

gradle/staticCodeAnalysis.gradle

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
apply plugin: 'checkstyle'
22
apply plugin: 'pmd'
33
apply plugin: 'jacoco'
4-
//apply plugin: 'com.github.spotbugs'
54

65
checkstyle {
7-
toolVersion = '10.26.1'
6+
toolVersion = '12.2.0'
87
ignoreFailures = false
98
maxWarnings = 0
109
checkstyleMain {
@@ -16,13 +15,8 @@ checkstyle {
1615
}
1716
}
1817

19-
//spotbugs {
20-
//toolVersion = '3.1.12'
21-
//ignoreFailures = true
22-
//}
23-
2418
pmd {
25-
toolVersion = '7.18.0'
19+
toolVersion = '7.19.0'
2620
ignoreFailures = true
2721
ruleSetFiles = files("config/pmd/ruleset.xml")
2822
ruleSets = []
@@ -43,7 +37,7 @@ tasks.withType(Checkstyle).configureEach {
4337
reports {
4438
xml.required = false
4539
html.required = true
46-
html.stylesheet resources.text.fromFile('config/checkstyle/xsl/checkstyle-simple.xsl')
40+
html.stylesheet = resources.text.fromFile('config/checkstyle/xsl/checkstyle-simple.xsl')
4741
}
4842
}
4943

0 commit comments

Comments
 (0)