1
mirror of https://github.com/Shiewk/SModeration.git synced 2026-04-28 05:54:16 +02:00

(1.6.0) Switch to Paper plugin & support Folia

This commit is contained in:
Shy
2025-07-09 12:59:43 +02:00
parent a69c7cb426
commit 039b40bd53
13 changed files with 93 additions and 23 deletions
+9 -2
View File
@@ -18,11 +18,17 @@ processResources {
def props = [version: version]
inputs.properties props
filteringCharset 'UTF-8'
filesMatching('plugin.yml') {
filesMatching('paper-plugin.yml') {
expand props
}
}
runPaper {
folia {
registerTask()
}
}
runServer {
minecraftVersion("1.21.7")
downloadPlugins {
@@ -33,7 +39,8 @@ runServer {
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.21.3-R0.1-SNAPSHOT")
//compileOnly "io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT"
compileOnly 'dev.folia:folia-api:1.21.4-R0.1-SNAPSHOT'
}
jar {