build: 优化构建脚本
This commit is contained in:
@@ -64,7 +64,6 @@ subprojects {
|
|||||||
|
|
||||||
shadowJar {
|
shadowJar {
|
||||||
classifier = ''
|
classifier = ''
|
||||||
relocate 'org.slf4j', 'cn.hamster3.mc.plugin.core.lib.org.slf4j'
|
|
||||||
relocate 'net.kyori', 'cn.hamster3.mc.plugin.core.lib.net.kyori'
|
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 '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'
|
relocate 'de.tr7zw.changeme.nbtapi', 'cn.hamster3.mc.plugin.core.lib.de.tr7zw.nbtapi'
|
||||||
|
@@ -11,7 +11,7 @@ dependencies {
|
|||||||
|
|
||||||
implementation project(":core-common") transitive false
|
implementation project(":core-common") transitive false
|
||||||
//noinspection GradlePackageUpdate
|
//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
|
// 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'
|
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
|
// https://mvnrepository.com/artifact/net.kyori/adventure-text-minimessage
|
||||||
|
Reference in New Issue
Block a user