27 lines
No EOL
704 B
Text
27 lines
No EOL
704 B
Text
plugins {
|
|
kotlin("jvm") version "2.0.0"
|
|
id("xyz.jpenilla.run-velocity") version "2.3.0"
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven("https://repo.papermc.io/repository/maven-public/")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly("com.velocitypowered:velocity-api:3.3.0-SNAPSHOT")
|
|
annotationProcessor("com.velocitypowered:velocity-api:3.3.0-SNAPSHOT")
|
|
}
|
|
|
|
java {
|
|
toolchain.languageVersion.set(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.3.0-SNAPSHOT")
|
|
}
|
|
} |