升级依赖.

This commit is contained in:
nieqiurong 2024-06-23 14:53:10 +08:00
parent d9c25dfc31
commit 6991a3aa02
3 changed files with 10 additions and 10 deletions

View File

@ -13,10 +13,10 @@ ext {
libraries = [
mybatisVersion = '3.5.16',
mybatisSpringVersion = '2.1.2',
mybatisSpringBootStarterVersion = '2.3.1',
springVersion = '5.3.34',
mybatisSpringBootStarterVersion = '2.3.2',
springVersion = '5.3.37',
springBootVersion = '2.7.18',
springBoot3Version = '3.2.6',
springBoot3Version = '3.3.1',
springCloudVersion = '3.1.8',
jsqlparserVersion = '4.9',
junitVersion = '5.10.2',
@ -46,7 +46,7 @@ ext {
"mybatis-spring-boot-starter": "org.mybatis.spring.boot:mybatis-spring-boot-starter:${mybatisSpringBootStarterVersion}",
//test
"spring-test" : "org.springframework:spring-test:${springVersion}",
"assertj-core" : "org.assertj:assertj-core:3.25.3",
"assertj-core" : "org.assertj:assertj-core:3.26.0",
"junit-jupiter" : "org.junit.jupiter:junit-jupiter:${junitVersion}",
"fastjson" : "com.alibaba:fastjson:2.0.51",
"jackson" : "com.fasterxml.jackson.core:jackson-databind:2.17.1",
@ -60,14 +60,14 @@ ext {
"dm" : fileTree(dir: 'libs', includes: ["jdbcDriver-18.jar"]),
"h2" : "com.h2database:h2:2.2.224",
"mysql" : "com.mysql:mysql-connector-j:8.4.0",
"sqlite" : "org.xerial:sqlite-jdbc:3.45.3.0",
"firebird" : "org.firebirdsql.jdbc:jaybird:5.0.4.java8",
"sqlite" : "org.xerial:sqlite-jdbc:3.46.0.0",
"firebird" : "org.firebirdsql.jdbc:jaybird:5.0.5.java8",
//cache
"mybatis-caffeine" : "org.mybatis.caches:mybatis-caffeine:1.0.0",
//code generator
"velocity" : "org.apache.velocity:velocity-engine-core:2.3",
"freemarker" : "org.freemarker:freemarker:2.3.33",
"beetl" : "com.ibeetl:beetl:3.16.1.RELEASE",
"beetl" : "com.ibeetl:beetl:3.16.2.RELEASE",
"swagger-annotations" : "io.swagger:swagger-annotations:1.6.14",
"enjoy" : "com.jfinal:enjoy:5.1.3",
"logback-classic" : "ch.qos.logback:logback-classic:1.5.6",

View File

@ -16,7 +16,7 @@ dependencies {
implementation "${lib['mybatis-thymeleaf']}"
implementation "${lib.'mybatis-velocity'}"
implementation "${lib.'mybatis-freemarker'}"
implementation "org.springframework.cloud:spring-cloud-commons:4.1.2"
implementation "org.springframework.cloud:spring-cloud-commons:4.1.3"
testImplementation "org.springframework.boot:spring-boot-starter-test"
testImplementation "org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.3"
testImplementation "${lib.h2}"

View File

@ -60,9 +60,9 @@ class GeneratePomTest {
Dependency bom = dependenciesMap.get("spring-boot-dependencies");
Assertions.assertEquals("import", bom.getScope());
Assertions.assertFalse(bom.isOptional());
Assertions.assertEquals(dependenciesMap.get("spring-cloud-commons").getVersion(), "4.1.2");
Assertions.assertEquals(dependenciesMap.get("spring-cloud-commons").getVersion(), "4.1.3");
Assertions.assertEquals(dependenciesMap.get("mybatis-spring").getVersion(), "3.0.3");
Assertions.assertEquals(dependenciesMap.get("spring-boot-dependencies").getVersion(), "3.2.6");
Assertions.assertEquals(dependenciesMap.get("spring-boot-dependencies").getVersion(), "3.3.1");
}
}