Paper handle !
This commit is contained in:
26
paper/build.gradle.kts
Normal file
26
paper/build.gradle.kts
Normal 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"))
|
||||
}
|
||||
Reference in New Issue
Block a user