From ed42cb8887d0774a4162ffa37d45a2f3177f20f4 Mon Sep 17 00:00:00 2001 From: akastijn Date: Sat, 27 Dec 2025 01:44:09 +0100 Subject: [PATCH] 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 --- build.gradle.kts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index f441209..fe5ef1d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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")