[ci skip] build: Switch to bom (#1778)

* build: Switch to bom

* chore: Use javax over checkerframework
This commit is contained in:
Alexander Brandes
2022-06-10 01:26:48 +02:00
committed by GitHub
parent d7d43869e6
commit c5a50179f2
10 changed files with 47 additions and 57 deletions

View File

@ -15,6 +15,7 @@ fun Project.applyPaperweightAdapterConfiguration() {
dependencies {
"implementation"(project(":worldedit-bukkit"))
"implementation"(platform("com.intellectualsites.bom:bom-1.18.x:1.4"))
}
tasks.named("assemble") {

View File

@ -45,6 +45,7 @@ fun Project.applyCommonJavaConfiguration(sourcesJar: Boolean, banSlf4j: Boolean
"testImplementation"("org.mockito:mockito-core:3.12.4")
"testImplementation"("org.mockito:mockito-junit-jupiter:3.12.4")
"testRuntimeOnly"("org.junit.jupiter:junit-jupiter-engine:5.8.1")
"implementation"(platform("com.intellectualsites.bom:bom-1.18.x:1.4"))
}
// Java 8 turns on doclint which we fail