docs: 更新代码示例
This commit is contained in:
@@ -49,9 +49,9 @@ repositories {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// 对于 Bukkit 插件
|
// 对于 Bukkit 插件
|
||||||
compileOnly "cn.hamster3.mc.plugin:ball-bukkit:1.5.1"
|
compileOnly("cn.hamster3.mc.plugin:ball-bukkit:1.5.1")
|
||||||
// 对于 BungeeCord 插件
|
// 对于 BungeeCord 插件
|
||||||
compileOnly "cn.hamster3.mc.plugin:ball-bungee:1.5.1"
|
compileOnly("cn.hamster3.mc.plugin:ball-bungee:1.5.1")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -6,7 +6,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
compileOnly("org.spigotmc:spigot-api:1.20.4-R0.1-SNAPSHOT")
|
compileOnly("org.spigotmc:spigot-api:1.20.4-R0.1-SNAPSHOT")
|
||||||
|
|
||||||
compileOnly("cn.hamster3.mc.plugin:core-bukkit:1.2.0")
|
compileOnly("cn.hamster3.mc.plugin:core-bukkit:1.2.2")
|
||||||
compileOnly("me.clip:placeholderapi:2.11.5") {
|
compileOnly("me.clip:placeholderapi:2.11.5") {
|
||||||
isTransitive = false
|
isTransitive = false
|
||||||
}
|
}
|
||||||
|
@@ -8,7 +8,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
compileOnly("net.md-5:bungeecord-api:1.20-R0.1")
|
compileOnly("net.md-5:bungeecord-api:1.20-R0.1")
|
||||||
|
|
||||||
compileOnly("cn.hamster3.mc.plugin:core-bungee:1.2.0")
|
compileOnly("cn.hamster3.mc.plugin:core-bungee:1.2.2")
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
|
Reference in New Issue
Block a user