build: 优化构建脚本

This commit is contained in:
2023-06-18 02:42:04 +08:00
parent 444326dc49
commit ffdfcb1a8c
2 changed files with 1 additions and 2 deletions

View File

@@ -64,7 +64,6 @@ subprojects {
shadowJar {
classifier = ''
relocate 'org.slf4j', 'cn.hamster3.mc.plugin.core.lib.org.slf4j'
relocate 'net.kyori', 'cn.hamster3.mc.plugin.core.lib.net.kyori'
relocate 'com.zaxxer.hikari', 'cn.hamster3.mc.plugin.core.lib.com.zaxxer.hikari'
relocate 'de.tr7zw.changeme.nbtapi', 'cn.hamster3.mc.plugin.core.lib.de.tr7zw.nbtapi'

View File

@@ -11,7 +11,7 @@ dependencies {
implementation project(":core-common") transitive false
//noinspection GradlePackageUpdate
implementation "com.zaxxer:HikariCP:${HikariCP_version}"
implementation "com.zaxxer:HikariCP:${HikariCP_version}" exclude group: 'org.slf4j'
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-bukkit
implementation "net.kyori:adventure-platform-bukkit:${adventure_version}" exclude group: 'org.jetbrains' exclude group: 'com.google.code.gson'
// https://mvnrepository.com/artifact/net.kyori/adventure-text-minimessage