Skip to content

Commit

Permalink
Add run server
Browse files Browse the repository at this point in the history
  • Loading branch information
md5sha256 committed Dec 22, 2024
1 parent cd3ecc0 commit 90d7c36
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,5 @@ Icon
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
.apdisk
**/run
15 changes: 15 additions & 0 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar

plugins {
id("com.gradleup.shadow") version "9.0.0-beta4"
id("xyz.jpenilla.run-paper") version "2.3.1"
}

var relocationBase = "com.github.md5sha256.addictiveexperience.shaded"
Expand Down Expand Up @@ -123,4 +124,18 @@ tasks {
useJUnitPlatform()
}

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.21.1")
downloadPlugins {
// Essentials
url("https://ci.ender.zone/job/EssentialsX/lastSuccessfulBuild/artifact/jars/EssentialsX-2.21.0-dev+151-f2af952.jar")
// Vault
github("MilkBowl", "Vault", "1.7.3", "Vault.jar")
}
}


}

0 comments on commit 90d7c36

Please sign in to comment.