perf: 优化代码

This commit is contained in:
2022-12-07 19:30:47 +08:00
parent afbe103909
commit 84696bc408
10 changed files with 96 additions and 26 deletions

View File

@@ -20,7 +20,7 @@ processResources {
}
tasks.compileJava.dependsOn(":hamster-ball-common:build")
tasks.create("shadowJar", Jar) {
tasks.register("shadowJar", Jar) {
dependsOn("jar")
from([
tasks.jar.outputs.files.collect {

View File

@@ -19,8 +19,8 @@ server-info:
# 当前子服的内网地址
# 不填则自动获取 server.properties 文件中的设置
# 若都为空,则自动设定为 127.0.0.1
# 连接上 HamsterBall 之后,BC 端的插件会自动将这个服务器的地址和端口加入到列表
# 因此只需在这里填上无需每次都手动更改 BC 的配置文件
# BC 端的插件会自动将这个服务器的地址和端口加入到列表
# 因此只需在这里配置好,以后新增子服时无需每次都手动更改 BC 的配置文件
# host: "127.0.0.1"
# 当前子服的内网端口
# 不填则自动获取 server.properties 文件中的设置