build: Switch to managed dependencies

This commit is contained in:
Alexander Brandes 2022-06-06 12:46:22 +02:00
parent 0a32268784
commit dd48069756
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
3 changed files with 7 additions and 5 deletions

View File

@ -18,6 +18,7 @@ repositories {
} }
dependencies { dependencies {
implementation(platform("com.intellectualsites:bom:1.0.0-SNAPSHOT"))
api(projects.plotSquaredCore) api(projects.plotSquaredCore)
// Metrics // Metrics
@ -52,7 +53,7 @@ dependencies {
implementation(libs.paster) implementation(libs.paster)
// Adventure // Adventure
implementation(libs.adventurePlatformBukkit) implementation("net.kyori:adventure-platform-bukkit")
} }
tasks.processResources { tasks.processResources {

View File

@ -1,8 +1,9 @@
import java.time.format.DateTimeFormatter import java.time.format.DateTimeFormatter
dependencies { dependencies {
implementation(platform("com.intellectualsites:bom:1.0.0-SNAPSHOT"))
// Expected everywhere. // Expected everywhere.
compileOnlyApi(libs.checkerqual) compileOnlyApi("org.checkerframework:checker-qual")
// Minecraft expectations // Minecraft expectations
compileOnlyApi(libs.gson) compileOnlyApi(libs.gson)
@ -12,8 +13,8 @@ dependencies {
compileOnlyApi(libs.snakeyaml) compileOnlyApi(libs.snakeyaml)
// Adventure // Adventure
api(libs.adventure) api("net.kyori:adventure-api")
api(libs.minimessage) api("net.kyori:adventure-text-minimessage")
// Guice // Guice
api(libs.guice) { api(libs.guice) {

View File

@ -34,7 +34,7 @@ allprojects {
maven { maven {
name = "Sonatype OSS (S01)" 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 { maven {