update download url

This commit is contained in:
2025-04-29 14:18:27 +08:00
parent acbfb6cb27
commit 6a6a24c064
4 changed files with 5 additions and 5 deletions

View File

@@ -69,7 +69,7 @@ plugins {
```kotlin
runBroker {
// The download url of the Broker its self bootstrap jar, if you want to use the default, just delete this line
brokerBootstrapDownloadUrl = "C:\\Users\\RTAkl\\Downloads\\afybroker-server-bootstrap-2.4-all.jar"
brokerBootstrapDownloadUrl = "..."
// the java path, by default plugin will use jdk of project, just delete this line to use the default jdk
javaExecPath = cn.rtast.runbroker.common.JavaExecPath("path/to/java/binary")
}

View File

@@ -1,2 +1,2 @@
kotlin.code.style=official
pluginVersion=0.1.2
pluginVersion=0.1.3

View File

@@ -19,7 +19,7 @@ abstract class RunBrokerExtension {
abstract val javaExecPath: Property<JavaExecPath>
init {
brokerBootstrapDownloadUrl.convention("https://pub-0d3d8f5b51ea4506827ee6da1f0d8c9b.r2.dev/afybroker-server-bootstrap-2.4-all.jar")
brokerBootstrapDownloadUrl.convention("https://broker-files.rtast.cn/afybroker-server-bootstrap-2.4-all.jar")
javaExecPath.convention(JavaExecPath.DEFAULT)
}
}

View File

@@ -30,8 +30,8 @@ abstract class RunBrokerSubserverExtension {
init {
subServerCount.convention(2)
minecraftServerPath.convention("./server.jar")
brokerBukkitPluginDownloadUrl.convention("https://pub-0d3d8f5b51ea4506827ee6da1f0d8c9b.r2.dev/afybroker-bukkit-2.4-all.jar")
brokerBungeeCordPluginDownloadUrl.convention("https://pub-0d3d8f5b51ea4506827ee6da1f0d8c9b.r2.dev/afybroker-bungee-2.4-all.jar")
brokerBukkitPluginDownloadUrl.convention("https://broker-files.rtast.cn/afybroker-bukkit-2.4-all.jar")
brokerBungeeCordPluginDownloadUrl.convention("https://broker-files.rtast.cn/afybroker-bungee-2.4-all.jar")
javaExecPath.convention(JavaExecPath.DEFAULT)
}
}