feat: 添加 lettuce API

This commit is contained in:
2024-01-13 01:31:49 +08:00
parent ec6d5dec65
commit aeb73f0558
11 changed files with 118 additions and 46 deletions

View File

@@ -5,7 +5,7 @@ plugins {
}
group = "cn.hamster3.mc.plugin"
version = "1.1.2"
version = "1.2.0"
subprojects {
apply {
@@ -24,9 +24,11 @@ subprojects {
}
dependencies {
compileOnly("org.jetbrains:annotations:+")
compileOnly("org.projectlombok:lombok:+")
annotationProcessor("org.projectlombok:lombok:+")
// https://mvnrepository.com/artifact/org.jetbrains/annotations
compileOnly("org.jetbrains:annotations:24.1.0")
// https://mvnrepository.com/artifact/org.projectlombok/lombok
compileOnly("org.projectlombok:lombok:1.18.30")
annotationProcessor("org.projectlombok:lombok:1.18.30")
}
java {
@@ -49,6 +51,11 @@ subprojects {
shadowJar {
archiveClassifier = ""
destinationDirectory = rootProject.buildDir
relocate("io.netty", "cn.hamster3.mc.plugin.core.lib.io.netty")
relocate("io.lettuce", "cn.hamster3.mc.plugin.core.lib.io.lettuce")
relocate("reactor", "cn.hamster3.mc.plugin.core.lib.reactor")
relocate("org.reactivestreams", "cn.hamster3.mc.plugin.core.lib.org.reactivestreams")
relocate("org.quartz", "cn.hamster3.mc.plugin.core.lib.org.quartz")
relocate("org.terracotta.quartz", "cn.hamster3.mc.plugin.core.lib.org.terracotta.quartz")
relocate("net.kyori", "cn.hamster3.mc.plugin.core.lib.net.kyori")