Skip to content

Commit

Permalink
升级依赖(springboot3,mybatis).
Browse files Browse the repository at this point in the history
  • Loading branch information
nieqiurong committed Nov 28, 2024
1 parent a3f6eb1 commit feb80ff
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ ext {
]

libraries = [
mybatisVersion = '3.5.16',
mybatisVersion = '3.5.17',
mybatisSpringVersion = '2.1.2',
mybatisSpringBootStarterVersion = '2.3.2',
springVersion = '5.3.39',
springBootVersion = '2.7.18',
springBoot3Version = '3.3.4',
springBoot3Version = '3.4.0',
springCloudVersion = '3.1.8',
junitVersion = '5.11.0',
]
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
APP_VERSION=3.5.9
APP_VERSION=3.5.10-SNAPSHOT
APP_GROUP=com.baomidou
signing.keyId=1FD337F9
signing.password=243194995
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(), "3.1.8");
Assertions.assertEquals(dependenciesMap.get("mybatis-spring").getVersion(), "2.1.2");
Assertions.assertEquals(dependenciesMap.get("spring-boot-dependencies").getVersion(), "2.7.18");
Assertions.assertEquals("3.1.8", dependenciesMap.get("spring-cloud-commons").getVersion());
Assertions.assertEquals("2.1.2", dependenciesMap.get("mybatis-spring").getVersion());
Assertions.assertEquals("2.7.18", dependenciesMap.get("spring-boot-dependencies").getVersion());
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies {
implementation "${lib.'mybatis-freemarker'}"
implementation "org.springframework.cloud:spring-cloud-commons:4.1.4"
testImplementation "org.springframework.boot:spring-boot-starter-test"
testImplementation "org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.3"
testImplementation "org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.4"
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.4");
Assertions.assertEquals(dependenciesMap.get("mybatis-spring").getVersion(), "3.0.4");
Assertions.assertEquals(dependenciesMap.get("spring-boot-dependencies").getVersion(), "3.3.4");
Assertions.assertEquals("4.1.4", dependenciesMap.get("spring-cloud-commons").getVersion());
Assertions.assertEquals("3.0.4", dependenciesMap.get("mybatis-spring").getVersion());
Assertions.assertEquals("3.4.0", dependenciesMap.get("spring-boot-dependencies").getVersion());
}
}

Expand Down

0 comments on commit feb80ff

Please sign in to comment.