From 35137df76c32034f046954f59afd46ad694eb6c3 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Fri, 19 Jan 2024 15:26:31 +0000 Subject: [PATCH] Bump to adventure release The API changes required for adopting resource packs are still needed, however the maven snapshots repo is dead, and nothing technically stops us from doing this --- api/build.gradle.kts | 3 +-- gradle/libs.versions.toml | 3 +-- settings.gradle.kts | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/api/build.gradle.kts b/api/build.gradle.kts index 565ab2e9d..4ff26ce52 100644 --- a/api/build.gradle.kts +++ b/api/build.gradle.kts @@ -63,8 +63,7 @@ tasks { "https://guava.dev/releases/${libs.guava.get().version}/api/docs/", "https://google.github.io/guice/api-docs/${libs.guice.get().version}/javadoc/", "https://docs.oracle.com/en/java/javase/17/docs/api/", - //"https://jd.advntr.dev/api/${libs.adventure.bom.get().version}/", - "https://jd.advntr.dev/api/4.14.0/", + "https://jd.advntr.dev/api/${libs.adventure.bom.get().version}/", "https://javadoc.io/doc/com.github.ben-manes.caffeine/caffeine" ) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index b3d0071b6..f0e89ed57 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -11,8 +11,7 @@ shadow = "com.github.johnrengelman.shadow:8.1.0" spotless = "com.diffplug.spotless:6.12.0" [libraries] -# See JD links in velocity-apo when moving to non-snapshot versions -adventure-bom = "net.kyori:adventure-bom:4.15.0-SNAPSHOT" +adventure-bom = "net.kyori:adventure-bom:4.15.0" adventure-facet = "net.kyori:adventure-platform-facet:4.3.0" asm = "org.ow2.asm:asm:9.5" brigadier = "com.velocitypowered:velocity-brigadier:1.0.0-SNAPSHOT" diff --git a/settings.gradle.kts b/settings.gradle.kts index aa2367be0..9222673e2 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -4,7 +4,6 @@ dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { mavenCentral() - maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") // adventure maven("https://repo.papermc.io/repository/maven-public/") } }