Skip to content

Commit 28c5a8b

Browse files
fix: dependency
1 parent 3f0e746 commit 28c5a8b

File tree

17 files changed

+50
-8
lines changed

17 files changed

+50
-8
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ allprojects {
3838

3939
dependencies {
4040
compileOnly("org.projectlombok:lombok:1.18.22")
41-
annotationProcessor("org.projectlombok:lombok")
41+
annotationProcessor("org.projectlombok:lombok:1.18.22")
4242
testCompileOnly("org.projectlombok:lombok:1.18.22")
43-
testAnnotationProcessor("org.projectlombok:lombok")
43+
testAnnotationProcessor("org.projectlombok:lombok:1.18.22")
4444
}
4545
}

spring-boot-devDataSource/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencyManagement {
77
dependencies {
88
api("org.springframework.boot:spring-boot-starter")
99

10-
api("com.h2database:h2")
10+
api("com.h2database:h2:+")
1111
api("p6spy:p6spy:+")
1212
api("com.baomidou:mybatis-plus-boot-starter:3.4.2")
1313
}

spring-boot-examples/spring-boot-dubbo3/spring-boot-dubbo3-consumer/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ protobuf {
1313
}
1414
}
1515

16+
dependencyManagement {
17+
imports {
18+
mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
19+
}
20+
}
21+
1622
configurations {
1723
all {
1824
exclude group: "org.slf4j", module: "slf4j-log4j12"

spring-boot-examples/spring-boot-dubbo3/spring-boot-dubbo3-provider/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ protobuf {
1111
protoc { artifact = "com.google.protobuf:protoc:${protocVersion}" }
1212
}
1313

14+
dependencyManagement {
15+
imports {
16+
mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
17+
}
18+
}
19+
20+
1421
configurations {
1522
all {
1623
exclude group: "org.slf4j", module: "slf4j-log4j12"

spring-boot-examples/spring-boot-redis/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
dependencyManagement {
2+
imports {
3+
mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
4+
}
5+
}
6+
17
dependencies {
28
api("org.springframework.boot:spring-boot-starter-web")
39
api("org.springframework.boot:spring-boot-starter-data-redis")
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1+
dependencyManagement {
2+
imports {
3+
mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
4+
}
5+
}
6+
17
dependencies {
2-
api("org.springframework.boot:spring-boot-starter-web")
8+
api("com.alibaba:fastjson:1.2.67")
9+
api('commons-codec:commons-codec:1.15')
310
api("org.apache.commons:commons-configuration2:+")
11+
api("org.springframework.boot:spring-boot-starter-web")
412
api("org.springframework.boot:spring-boot-starter-data-redis")
513

614
}

spring-boot-examples/spring-boot-webmvc/src/main/java/com/ooooo/util/EncryptUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import javax.crypto.Cipher;
55
import javax.crypto.spec.IvParameterSpec;
66
import javax.crypto.spec.SecretKeySpec;
7-
import org.apache.tomcat.util.codec.binary.Base64;
7+
import org.apache.commons.codec.binary.Base64;
88

99

1010
/**

spring-boot-sharding-jdbc/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies {
1010
api("org.springframework.boot:spring-boot-starter-web")
1111

1212
// sharding-jdbc
13-
api("org.codehaus.groovy:groovy:2.5.15")
13+
api('org.apache.groovy:groovy:4.0.6')
1414
api("org.apache.shardingsphere:shardingsphere-jdbc-core-spring-boot-starter:5.2.0")
1515
// api("org.apache.shardingsphere:shardingsphere-cluster-mode-repository-zookeeper-curator:5.2.0")
1616

spring-boot-test/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dependencies {
88
api("org.springframework.boot:spring-boot-starter-web")
99
api("org.springframework.boot:spring-boot-starter-aop")
1010

11-
api("com.h2database:h2")
11+
api("com.h2database:h2:+")
1212

1313
testImplementation("org.springframework.boot:spring-boot-starter-test")
1414
}

spring-cloud-examples/spring-cloud-authorize-client/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ext {
55
dependencyManagement {
66
imports {
77
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
8+
mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
89
}
910
}
1011

0 commit comments

Comments
 (0)