From dd480697564e3a4e26d7ace91a5c41d4e991189b Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Mon, 6 Jun 2022 12:46:22 +0200 Subject: [PATCH] build: Switch to managed dependencies --- Bukkit/build.gradle.kts | 3 ++- Core/build.gradle.kts | 7 ++++--- build.gradle.kts | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Bukkit/build.gradle.kts b/Bukkit/build.gradle.kts index 9d94c436f..d59850595 100644 --- a/Bukkit/build.gradle.kts +++ b/Bukkit/build.gradle.kts @@ -18,6 +18,7 @@ repositories { } dependencies { + implementation(platform("com.intellectualsites:bom:1.0.0-SNAPSHOT")) api(projects.plotSquaredCore) // Metrics @@ -52,7 +53,7 @@ dependencies { implementation(libs.paster) // Adventure - implementation(libs.adventurePlatformBukkit) + implementation("net.kyori:adventure-platform-bukkit") } tasks.processResources { diff --git a/Core/build.gradle.kts b/Core/build.gradle.kts index 9bf697e9d..aaa7cdae0 100644 --- a/Core/build.gradle.kts +++ b/Core/build.gradle.kts @@ -1,8 +1,9 @@ import java.time.format.DateTimeFormatter dependencies { + implementation(platform("com.intellectualsites:bom:1.0.0-SNAPSHOT")) // Expected everywhere. - compileOnlyApi(libs.checkerqual) + compileOnlyApi("org.checkerframework:checker-qual") // Minecraft expectations compileOnlyApi(libs.gson) @@ -12,8 +13,8 @@ dependencies { compileOnlyApi(libs.snakeyaml) // Adventure - api(libs.adventure) - api(libs.minimessage) + api("net.kyori:adventure-api") + api("net.kyori:adventure-text-minimessage") // Guice api(libs.guice) { diff --git a/build.gradle.kts b/build.gradle.kts index 282eaabd5..ae5b7a0c5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -34,7 +34,7 @@ allprojects { maven { name = "Sonatype OSS (S01)" - url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots") + url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/") } maven {