mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-14 22:55:36 +01:00
chore(ci): adding run-paper plugin for easy testing on paper
This commit is contained in:
parent
543c33bf3e
commit
fd49023788
@ -1,5 +1,8 @@
|
||||
// Check the root build.gradle under allprojects for common settings
|
||||
plugins {
|
||||
id("xyz.jpenilla.run-paper") version "1.0.6"
|
||||
}
|
||||
|
||||
// Check the root build.gradle under allprojects for common settings
|
||||
configurations {
|
||||
// configuration that holds jars to copy into lib
|
||||
includeLibs
|
||||
@ -8,6 +11,7 @@ configurations {
|
||||
repositories {
|
||||
maven { url "https://repo.maven.apache.org/maven2" }
|
||||
maven { url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
|
||||
maven { url 'https://papermc.io/repo/repository/maven-public/' }
|
||||
}
|
||||
|
||||
// includeLibs just says to include the library in the final jar
|
||||
@ -15,7 +19,9 @@ dependencies {
|
||||
implementation project(":core")
|
||||
|
||||
// For spigot api
|
||||
implementation "org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT"
|
||||
implementation "org.spigotmc:spigot-api:1.16.1-R0.1-SNAPSHOT"
|
||||
implementation "net.md-5:bungeecord-api:1.16-R0.4"
|
||||
compileOnly 'com.destroystokyo.paper:paper-api:1.16.5-R0.1-SNAPSHOT'
|
||||
}
|
||||
|
||||
jar {
|
||||
@ -23,3 +29,13 @@ jar {
|
||||
it.isDirectory() ? it : zipTree(it)
|
||||
}
|
||||
}
|
||||
|
||||
tasks {
|
||||
runServer {
|
||||
// Configure the Minecraft version for our task.
|
||||
// This is the only required configuration besides applying the plugin.
|
||||
// Your plugin's jar (or shadowJar if present) will be used automatically.
|
||||
minecraftVersion("1.18.2")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user