Paper handle !

This commit is contained in:
RedSavant
2026-03-25 19:09:09 +01:00
parent 940aa747f8
commit 1e7d845822
7 changed files with 169 additions and 2 deletions

26
paper/build.gradle.kts Normal file
View File

@@ -0,0 +1,26 @@
plugins {
id("com.gradleup.shadow")
id("xyz.jpenilla.run-paper")
}
version = "1.0.0"
dependencies {
compileOnly("io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT")
implementation(project(":commun"))
implementation(project(":bukkit"))
}
tasks.shadowJar {
archiveBaseName.set("LagoonPlugin")
archiveClassifier.set("")
archiveVersion.set(version.toString())
}
tasks.build {
dependsOn(tasks.shadowJar)
}
tasks.runServer {
minecraftVersion("1.21.11")
runDirectory.set(file("run"))
}