依赖升级.
This commit is contained in:
parent
9bc67f19a2
commit
09343e84d3
@ -15,8 +15,8 @@ ext {
|
||||
mybatisSpringVersion = '2.1.2',
|
||||
mybatisSpringBootStarterVersion = '2.3.1',
|
||||
springVersion = '5.3.27',
|
||||
springBootVersion = '2.7.15',
|
||||
springBoot3Version = '3.2.0',
|
||||
springBootVersion = '2.7.18',
|
||||
springBoot3Version = '3.2.4',
|
||||
springCloudVersion = '3.1.8',
|
||||
jsqlparserVersion = '4.9',
|
||||
junitVersion = '5.9.0',
|
||||
|
@ -77,7 +77,7 @@ class GeneratePomTest {
|
||||
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.15");
|
||||
Assertions.assertEquals(dependenciesMap.get("spring-boot-dependencies").getVersion(), "2.7.18");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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.1"
|
||||
implementation "org.springframework.cloud:spring-cloud-commons:4.1.2"
|
||||
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
||||
testImplementation "org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.3"
|
||||
testImplementation "${lib.h2}"
|
||||
|
@ -75,9 +75,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.1");
|
||||
Assertions.assertEquals(dependenciesMap.get("spring-cloud-commons").getVersion(), "4.1.2");
|
||||
Assertions.assertEquals(dependenciesMap.get("mybatis-spring").getVersion(), "3.0.3");
|
||||
Assertions.assertEquals(dependenciesMap.get("spring-boot-dependencies").getVersion(), "3.2.0");
|
||||
Assertions.assertEquals(dependenciesMap.get("spring-boot-dependencies").getVersion(), "3.2.4");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user