feat: add rest of files

This commit is contained in:
Leo
2026-05-07 13:04:39 +02:00
parent 031c489918
commit e661243ebc
14 changed files with 444 additions and 0 deletions

33
build.gradle.kts Normal file
View File

@@ -0,0 +1,33 @@
plugins {
id("java-library")
id("xyz.jpenilla.run-velocity") version "3.0.2"
}
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
compileOnly("com.velocitypowered:velocity-api:3.5.0-SNAPSHOT")
}
java {
toolchain.languageVersion = JavaLanguageVersion.of(21)
}
tasks {
runVelocity {
// Configure the Velocity 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.
velocityVersion("3.5.0-SNAPSHOT")
}
processResources {
val props = mapOf("version" to version)
filesMatching("velocity-plugin.json") {
expand(props)
}
}
}