Update Velocity API version and add snapshot repository

- Change Velocity API dependency to version 3.1.0 for enhanced stability.
- Add Velocity snapshots repository since it seems to be required for this build
This commit is contained in:
akastijn 2025-12-27 01:44:09 +01:00
parent 2e812ed588
commit ed42cb8887

View File

@ -20,12 +20,13 @@ java {
repositories {
mavenCentral()
maven("https://nexus.velocitypowered.com/repository/maven-public/")
maven("https://nexus.velocitypowered.com/repository/maven-snapshots/")
maven("https://jitpack.io") //Litebans
}
dependencies {
compileOnly("com.velocitypowered:velocity-api:3.1.2-SNAPSHOT") // Velocity
annotationProcessor("com.velocitypowered:velocity-api:3.1.2-SNAPSHOT")
compileOnly("com.velocitypowered:velocity-api:3.1.0") // Velocity
annotationProcessor("com.velocitypowered:velocity-api:3.1.0")
compileOnly("com.gitlab.ruany:LiteBansAPI:0.6.1")
compileOnly("org.projectlombok:lombok:1.18.30")
annotationProcessor("org.projectlombok:lombok:1.18.30")