chore: Add runServer task (#1835)

This commit is contained in:
Alexander Brandes 2022-06-20 17:56:51 +02:00 committed by GitHub
parent dacb89a480
commit 2ecf32b37c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@ import java.net.URI
plugins { plugins {
id("io.github.gradle-nexus.publish-plugin") version "1.1.0" id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("xyz.jpenilla.run-paper") version "1.0.6"
} }
logger.lifecycle(""" logger.lifecycle("""
@ -72,6 +73,14 @@ allprojects {
applyCommonConfiguration() applyCommonConfiguration()
tasks {
runServer {
minecraftVersion("1.19")
pluginJars(project(":worldedit-bukkit").file("build/libs/FastAsyncWorldEdit-Bukkit-$version.jar"))
}
}
nexusPublishing { nexusPublishing {
repositories { repositories {
sonatype { sonatype {