Commit eefcc8556973dfc239b9ef738a95a223e6aa6d4d
1 parent
cbf0934c
enable redisson supported
Showing
2 changed files
with
2 additions
and
1 deletions
cashier-shared/build.gradle
| ... | ... | @@ -2,7 +2,7 @@ dependencies { |
| 2 | 2 | //api 'org.springframework.boot:spring-boot-starter-data-mongodb' |
| 3 | 3 | api libs.mybatis.starter |
| 4 | 4 | api 'org.springframework.boot:spring-boot-starter-data-redis' |
| 5 | - //api 'org.redisson:redisson-spring-boot-starter:3.52.0' | |
| 5 | + api "org.redisson:redisson-spring-boot-starter:${libs.versions.redissonVersion.get()}" | |
| 6 | 6 | api 'org.springframework.boot:spring-boot-starter-amqp' |
| 7 | 7 | api 'org.springframework.cloud:spring-cloud-starter-loadbalancer' |
| 8 | 8 | api 'org.springframework.cloud:spring-cloud-starter-openfeign' | ... | ... |
gradle/libs.versions.toml
| ... | ... | @@ -6,6 +6,7 @@ springDependencyVersion = "1.1.7" |
| 6 | 6 | springCloudAlibabaVersion = "2025.0.0.0" #目前没有支持springboot4的版本 |
| 7 | 7 | mybatisVersion = "3.0.5" #支持springboot4的版本是4.0.0 |
| 8 | 8 | mysqlDriverVersion = "8.0.33" |
| 9 | +redissonVersion = "3.52.0" | |
| 9 | 10 | caffeineVersion = "3.2.3" |
| 10 | 11 | |
| 11 | 12 | [libraries] | ... | ... |