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 {
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 {

View File

@ -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) {

View File

@ -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 {