Skip to content

Commit

Permalink
升级依赖.
Browse files Browse the repository at this point in the history
  • Loading branch information
nieqiurong committed Jun 23, 2024
1 parent d9c25df commit 6991a3a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ void test() throws IOException {
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");
}
}

Expand Down

0 comments on commit 6991a3a

Please sign in to comment.