feat: 添加 velocity 支持,取消重定向包名

This commit is contained in:
2024-03-17 19:29:24 +08:00
parent ce79c56d1a
commit e6e66b99b3
12 changed files with 436 additions and 35 deletions

View File

@@ -1,5 +1,5 @@
plugins {
id("java")
id("java-library")
id("maven-publish")
id("com.github.johnrengelman.shadow") version "8+"
}
@@ -9,7 +9,7 @@ version = "1.3.2-SNAPSHOT"
subprojects {
apply {
plugin("java")
plugin("java-library")
plugin("maven-publish")
plugin("com.github.johnrengelman.shadow")
}
@@ -55,20 +55,7 @@ subprojects {
expand(map)
}
}
jar {
archiveClassifier = "dev"
}
shadowJar {
archiveClassifier = ""
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("com.zaxxer.hikari", "cn.hamster3.mc.plugin.core.lib.com.zaxxer.hikari")
relocate("redis.clients.jedis", "cn.hamster3.mc.plugin.core.lib.redis.clients.jedis")
relocate("org.json", "cn.hamster3.mc.plugin.core.lib.org.json")
relocate("org.apache.commons.pool2", "cn.hamster3.mc.plugin.core.lib.org.apache.commons.pool2")
relocate("net.kyori", "cn.hamster3.mc.plugin.core.lib.net.kyori")
relocate("de.tr7zw.changeme.nbtapi", "cn.hamster3.mc.plugin.core.lib.de.tr7zw.nbtapi")
relocate("de.tr7zw.annotations", "cn.hamster3.mc.plugin.core.lib.de.tr7zw.nbtapi.annotations")
}