update download url
This commit is contained in:
@@ -69,7 +69,7 @@ plugins {
|
|||||||
```kotlin
|
```kotlin
|
||||||
runBroker {
|
runBroker {
|
||||||
// The download url of the Broker its self bootstrap jar, if you want to use the default, just delete this line
|
// 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
|
// 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")
|
javaExecPath = cn.rtast.runbroker.common.JavaExecPath("path/to/java/binary")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
pluginVersion=0.1.2
|
pluginVersion=0.1.3
|
||||||
@@ -19,7 +19,7 @@ abstract class RunBrokerExtension {
|
|||||||
abstract val javaExecPath: Property<JavaExecPath>
|
abstract val javaExecPath: Property<JavaExecPath>
|
||||||
|
|
||||||
init {
|
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)
|
javaExecPath.convention(JavaExecPath.DEFAULT)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -30,8 +30,8 @@ abstract class RunBrokerSubserverExtension {
|
|||||||
init {
|
init {
|
||||||
subServerCount.convention(2)
|
subServerCount.convention(2)
|
||||||
minecraftServerPath.convention("./server.jar")
|
minecraftServerPath.convention("./server.jar")
|
||||||
brokerBukkitPluginDownloadUrl.convention("https://pub-0d3d8f5b51ea4506827ee6da1f0d8c9b.r2.dev/afybroker-bukkit-2.4-all.jar")
|
brokerBukkitPluginDownloadUrl.convention("https://broker-files.rtast.cn/afybroker-bukkit-2.4-all.jar")
|
||||||
brokerBungeeCordPluginDownloadUrl.convention("https://pub-0d3d8f5b51ea4506827ee6da1f0d8c9b.r2.dev/afybroker-bungee-2.4-all.jar")
|
brokerBungeeCordPluginDownloadUrl.convention("https://broker-files.rtast.cn/afybroker-bungee-2.4-all.jar")
|
||||||
javaExecPath.convention(JavaExecPath.DEFAULT)
|
javaExecPath.convention(JavaExecPath.DEFAULT)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user