Add jsr305 back for annotations.

Blame those pesky WorldEdit devs breaking our builds :^)
This commit is contained in:
wizjany 2021-08-02 13:21:33 -04:00
parent 88854592ce
commit c81f5892eb
2 changed files with 3 additions and 1 deletions

View File

@ -43,7 +43,7 @@ fun Project.applyLibrariesConfiguration() {
archiveClassifier.set("")
dependencies {
exclude(dependency("com.google.code.findbugs:jsr305:1.3.9"))
exclude(dependency("com.google.code.findbugs:jsr305"))
}
relocations.forEach { (from, to) ->

View File

@ -38,6 +38,8 @@ fun Project.applyPlatformAndCoreConfiguration() {
}
dependencies {
"compileOnly"("com.google.code.findbugs:jsr305:3.0.2")
"testCompileOnly"("com.google.code.findbugs:jsr305:3.0.2")
"testImplementation"("org.junit.jupiter:junit-jupiter-api:${Versions.JUNIT}")
"testImplementation"("org.junit.jupiter:junit-jupiter-params:${Versions.JUNIT}")
"testImplementation"("org.mockito:mockito-core:${Versions.MOCKITO}")