feat: 使用 lettuce-core 连接 redis 提升稳定性

This commit is contained in:
2025-07-03 02:36:20 +08:00
parent 95c0a23857
commit 25828267f6
4 changed files with 59 additions and 63 deletions

View File

@@ -11,7 +11,7 @@ plugins {
}
group = "cn.hamster3.mc.plugin"
version = "1.7.2"
version = "1.8.0"
description = "基于 Redis 的 Minecraft 服务端通用消息中间件"
subprojects {
@@ -65,10 +65,9 @@ subprojects {
repositories {
maven {
url = uri("https://maven.airgame.net/public")
credentials {
username = rootProject.properties.getOrDefault("maven_username", "").toString()
password = rootProject.properties.getOrDefault("maven_password", "").toString()
username = findProperty("MAVEN_AIRGAME_USERNAME")?.toString() ?: ""
password = findProperty("MAVEN_AIRGAME_PASSWORD")?.toString() ?: ""
}
}
}