feat: 添加 lettuce-core 用于连接 redis
All checks were successful
Publish Project / build (push) Successful in 2m43s

This commit is contained in:
2025-07-03 02:29:02 +08:00
parent 0f942a7687
commit 1648a56453
11 changed files with 95 additions and 22 deletions

View File

@@ -9,17 +9,18 @@ dependencies {
compileOnlyApi("net.kyori:adventure-platform-api:4.3.2") { isTransitive = false }
// https://mvnrepository.com/artifact/redis.clients/jedis
implementation("com.zaxxer:HikariCP:5.1.0") { isTransitive = false }
api("redis.clients:jedis:5.1.4") {
exclude(group = "com.google.code.gson")
exclude(group = "org.slf4j")
}
// https://mvnrepository.com/artifact/com.zaxxer/HikariCP
implementation("com.zaxxer:HikariCP:5.1.0") { isTransitive = false }
api("io.lettuce:lettuce-core:6.7.1.RELEASE") {
exclude(group = "io.netty")
exclude(group = "org.slf4j")
}
// https://mvnrepository.com/artifact/com.mysql/mysql-connector-j
runtimeOnly("com.mysql:mysql-connector-j:8.3.0")
runtimeOnly("com.mysql:mysql-connector-j:8.4.0")
}
sourceSets.create("templates") {