perf: 优化性能
This commit is contained in:
@@ -2,8 +2,8 @@ plugins {
|
||||
id 'java'
|
||||
}
|
||||
|
||||
group 'cn.hamster3.mc.plugin'
|
||||
version '1.0.0-SNAPSHOT'
|
||||
group = 'cn.hamster3.mc.plugin'
|
||||
version = '1.0.0-SNAPSHOT'
|
||||
|
||||
subprojects {
|
||||
apply plugin: 'java'
|
||||
|
@@ -1,5 +1,7 @@
|
||||
org.gradle.jvmargs=-Xmx2G
|
||||
|
||||
spigot_api_version=1.12.2-R0.1-SNAPSHOT
|
||||
bungee_api_version=1.19-R0.1-SNAPSHOT
|
||||
hamster_core_version=1.0.0-SNAPSHOT
|
||||
hamster_ball_version=1.0.0-SNAPSHOT
|
||||
placeholder_api_version=2.11.2
|
@@ -1,8 +0,0 @@
|
||||
# hamster-admin-command
|
||||
|
||||
| 命令 | 描述 |
|
||||
|:------------|:---------|
|
||||
| /feed [玩家名] | 恢复玩家的饱食度 |
|
||||
| /heal [玩家名] | 治疗玩家 |
|
||||
| /fly [玩家名] | 治疗玩家 |
|
||||
| /head [玩家名] | 获取玩家的头颅 |
|
@@ -1,14 +0,0 @@
|
||||
version = '1.0.0'
|
||||
setArchivesBaseName("HamsterAdminCommand")
|
||||
|
||||
dependencies {
|
||||
compileOnly 'org.spigotmc:spigot-api:1.19.2-R0.1-SNAPSHOT'
|
||||
}
|
||||
|
||||
processResources {
|
||||
inputs.property "version", project.version
|
||||
filesMatching("plugin.yml") {
|
||||
expand "version": project.version
|
||||
}
|
||||
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
|
||||
}
|
@@ -2,7 +2,8 @@ version = '1.0.0'
|
||||
setArchivesBaseName("HamsterAuto-GameRule")
|
||||
|
||||
dependencies {
|
||||
compileOnly 'org.spigotmc:spigot-api:1.19.2-R0.1-SNAPSHOT'
|
||||
//noinspection VulnerableLibrariesLocal
|
||||
compileOnly "org.spigotmc:spigot-api:${spigot_api_version}"
|
||||
}
|
||||
|
||||
processResources {
|
||||
|
@@ -2,7 +2,8 @@ version = '1.0.0'
|
||||
setArchivesBaseName("HamsterAuto-LogClear")
|
||||
|
||||
dependencies {
|
||||
compileOnly 'org.spigotmc:spigot-api:1.19.2-R0.1-SNAPSHOT'
|
||||
//noinspection VulnerableLibrariesLocal
|
||||
compileOnly "org.spigotmc:spigot-api:${spigot_api_version}"
|
||||
}
|
||||
|
||||
processResources {
|
||||
|
@@ -1,19 +0,0 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
}
|
||||
|
||||
group 'cn.hamster3.mc.plugin'
|
||||
version 'unspecified'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
|
||||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
@@ -2,8 +2,10 @@ version = '1.1.0'
|
||||
setArchivesBaseName("HamsterBall-Bridge")
|
||||
|
||||
dependencies {
|
||||
compileOnly 'org.spigotmc:spigot-api:1.19.2-R0.1-SNAPSHOT'
|
||||
compileOnly 'net.md-5:bungeecord-api:1.19-R0.1-SNAPSHOT'
|
||||
//noinspection VulnerableLibrariesLocal
|
||||
compileOnly "org.spigotmc:spigot-api:${spigot_api_version}"
|
||||
//noinspection VulnerableLibrariesLocal
|
||||
compileOnly "net.md-5:bungeecord-api:${bungee_api_version}"
|
||||
|
||||
compileOnly "cn.hamster3.mc.plugin.ball:common:${hamster_ball_version}"
|
||||
compileOnly "cn.hamster3.mc.plugin.core:bukkit:${hamster_core_version}"
|
||||
|
@@ -2,8 +2,10 @@ version = '1.0.0'
|
||||
setArchivesBaseName("HamsterSudo")
|
||||
|
||||
dependencies {
|
||||
compileOnly 'org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT'
|
||||
compileOnly 'net.md-5:bungeecord-api:1.19-R0.1-SNAPSHOT'
|
||||
//noinspection VulnerableLibrariesLocal
|
||||
compileOnly "org.spigotmc:spigot-api:${spigot_api_version}"
|
||||
//noinspection VulnerableLibrariesLocal
|
||||
compileOnly "net.md-5:bungeecord-api:${bungee_api_version}"
|
||||
|
||||
compileOnly "cn.hamster3.mc.plugin.ball:common:${hamster_ball_version}"
|
||||
}
|
||||
|
@@ -1,8 +1,9 @@
|
||||
rootProject.name = 'hamster-little-plugins'
|
||||
|
||||
include 'hamster-sudo'
|
||||
include 'hamster-ball-bridge'
|
||||
include 'hamster-auto-game-rule'
|
||||
include 'hamster-admin-command'
|
||||
include 'hamster-ore-remove'
|
||||
include 'hamster-auto-log-clear'
|
||||
include 'hamster-auto-restart'
|
||||
include 'hamster-auto-server-info'
|
||||
|
Reference in New Issue
Block a user