cleaned up build process

This commit is contained in:
kento2 2026-07-05 22:41:48 +02:00
parent e7ff5d3da2
commit 821ed43d7b
10 changed files with 142 additions and 182 deletions

39
gradle/libs.versions.toml Normal file
View file

@ -0,0 +1,39 @@
[versions]
shadow = "9.2.0"
run-paper = "2.3.1"
scrow-commandapi = "0.30"
postgress = "42.7.12"
nats = "2.25.2"
papermc = "1.21.11-rc3-R0.1-SNAPSHOT"
velocity = "3.5.0-SNAPSHOT"
bson = "5.8.0"
adventure = "5.2.0"
[plugins]
shadow = { id = "com.gradleup.shadow", version.ref = "shadow" }
runpaper = { id = "xyz.jpenilla.run-paper", version.ref = "run-paper" }
scrow-scrowrepository = { id = "scrow.scrow-repository" }
scrow-basedependencies = { id = "scrow.base-dependencies" }
scrow-javalibrary = { id = "scrow.java-library" }
scrow-database = { id = "scrow.database" }
[libraries]
# https://mvnrepository.com/artifact/org.postgresql/postgresql
postgres = { module = "org.postgresql:postgresql", version.ref = "postgress" }
# https://mvnrepository.com/artifact/org.mongodb/bson
bson = { module = "org.mongodb:bson", version.ref = "bson" }
# https://mvnrepository.com/artifact/io.nats/jnats
nats = { module = "io.nats:jnats", version.ref = "nats" }
# https://docs.papermc.io/paper/dev/project-setup/
papermc-api = { module = "io.papermc.paper:paper-api", version.ref = "papermc" }
# https://docs.papermc.io/velocity/dev/creating-your-first-plugin/
velocity-api = { module = "com.velocitypowered:velocity-api", version.ref = "velocity" }
adventure-api = { module = "net.kyori:adventure-api", version.ref = "adventure" }
adventure-minimessage = { module = "net.kyori:adventure-text-minimessage", version.ref = "adventure" }
# http://forge.kentoj.de/scrow/-/packages/maven/de.kentoj.scrow:kencommandapi-core
scrow-commandapi-core = { module = "de.kentoj.scrow:kencommandapi-core", version.ref = "scrow-commandapi" }
# http://forge.kentoj.de/scrow/-/packages/maven/de.kentoj.scrow:kencommandapi-bukkit
scrow-commandapi-bukkit = { module = "de.kentoj.scrow:kencommandapi-bukkit", version.ref = "scrow-commandapi" }
# http://forge.kentoj.de/scrow/-/packages/maven/de.kentoj.scrow:kencommandapi-velocity
scrow-commandapi-velocity = { module = "de.kentoj.scrow:kencommandapi-velocity", version.ref = "scrow-commandapi" }