From 96c97997dc10f1a8626643dea66243f9783670f3 Mon Sep 17 00:00:00 2001 From: Octavia Togami Date: Sun, 1 Aug 2021 09:44:44 -0700 Subject: [PATCH] Exclude JSR305 from libs Fixes #1859 --- buildSrc/src/main/kotlin/LibsConfig.kt | 1 + buildSrc/src/main/kotlin/PlatformConfig.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/buildSrc/src/main/kotlin/LibsConfig.kt b/buildSrc/src/main/kotlin/LibsConfig.kt index 12192755b..0fd2d6253 100644 --- a/buildSrc/src/main/kotlin/LibsConfig.kt +++ b/buildSrc/src/main/kotlin/LibsConfig.kt @@ -49,6 +49,7 @@ exclude(dependency("com.google.code.gson:gson")) exclude(dependency("org.checkerframework:checker-qual")) exclude(dependency("org.apache.logging.log4j:log4j-api")) + exclude(dependency("com.google.code.findbugs:jsr305")) } relocations.forEach { (from, to) -> diff --git a/buildSrc/src/main/kotlin/PlatformConfig.kt b/buildSrc/src/main/kotlin/PlatformConfig.kt index be14107a9..b4b280ea6 100644 --- a/buildSrc/src/main/kotlin/PlatformConfig.kt +++ b/buildSrc/src/main/kotlin/PlatformConfig.kt @@ -61,6 +61,7 @@ } dependencies { + "compileOnly"("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}")