perf: 重写部分代码

This commit is contained in:
2023-05-30 04:09:54 +08:00
parent 76c3f76329
commit cfa382b71c
20 changed files with 287 additions and 598 deletions

View File

@@ -10,7 +10,8 @@ dependencies {
api(project(":hamster-core-common")) { transitive = false }
shade(project(":hamster-core-common")) { transitive = false }
compileOnly('org.spigotmc:spigot-api:1.19.2-R0.1-SNAPSHOT') {
//noinspection VulnerableLibrariesLocal
compileOnly('org.spigotmc:spigot-api:1.19.4-R0.1-SNAPSHOT') {
exclude group: "com.google.code.gson"
}
@@ -21,6 +22,7 @@ dependencies {
// https://mvnrepository.com/artifact/com.google.code.gson/gson
//noinspection GradlePackageUpdate
//noinspection VulnerableLibrariesLocal
compileOnly 'com.google.code.gson:gson:2.8.0'
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-bukkit
@@ -61,6 +63,7 @@ tasks.build.dependsOn(shadowJar)
tasks.register("oldJar", Jar) {
dependsOn("jar")
//noinspection GrDeprecatedAPIUsage
setClassifier("Old")
from([
tasks.jar.outputs.files.collect {