build: 修复 netty 依赖以支持 1.12 及以下版本
This commit is contained in:
@@ -5,7 +5,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "cn.hamster3.mc.plugin"
|
||||
version = "1.2.1"
|
||||
version = "1.2.2"
|
||||
|
||||
subprojects {
|
||||
apply {
|
||||
@@ -51,6 +51,7 @@ subprojects {
|
||||
shadowJar {
|
||||
archiveClassifier = ""
|
||||
relocate("io.lettuce", "cn.hamster3.mc.plugin.core.lib.io.lettuce")
|
||||
relocate("io.netty", "cn.hamster3.mc.plugin.core.lib.io.netty")
|
||||
relocate("reactor", "cn.hamster3.mc.plugin.core.lib.reactor")
|
||||
relocate("org.reactivestreams", "cn.hamster3.mc.plugin.core.lib.org.reactivestreams")
|
||||
|
||||
|
@@ -29,11 +29,7 @@ dependencies {
|
||||
exclude(group = "org.slf4j")
|
||||
}
|
||||
// https://mvnrepository.com/artifact/io.lettuce/lettuce-core
|
||||
implementation("io.lettuce:lettuce-core:6.3.1.RELEASE") {
|
||||
exclude(group = "io.netty")
|
||||
}
|
||||
// https://mvnrepository.com/artifact/io.netty/netty-codec-dns
|
||||
implementation("io.netty:netty-codec-dns:4.1.104.Final")
|
||||
implementation("io.lettuce:lettuce-core:6.3.1.RELEASE")
|
||||
// https://mvnrepository.com/artifact/org.quartz-scheduler/quartz
|
||||
implementation("org.quartz-scheduler:quartz:2.3.2") {
|
||||
isTransitive = false
|
||||
|
@@ -21,9 +21,8 @@ dependencies {
|
||||
exclude(group = "org.slf4j")
|
||||
}
|
||||
// https://mvnrepository.com/artifact/io.lettuce/lettuce-core
|
||||
implementation("io.lettuce:lettuce-core:6.3.1.RELEASE") {
|
||||
exclude(group = "io.netty")
|
||||
}
|
||||
implementation("io.lettuce:lettuce-core:6.3.1.RELEASE")
|
||||
// https://mvnrepository.com/artifact/org.quartz-scheduler/quartz
|
||||
implementation("org.quartz-scheduler:quartz:2.3.2") {
|
||||
isTransitive = false
|
||||
}
|
||||
|
Reference in New Issue
Block a user