Skip to content

Commit

Permalink
Add spotbugs dependencies so we can use @nullable and @nonnull across…
Browse files Browse the repository at this point in the history
… the codebase

Signed-off-by: Alfredo Gutierrez <[email protected]>
  • Loading branch information
AlfredoG87 committed Aug 7, 2024
1 parent e08b91a commit 3d3e880
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,8 @@ extraJavaModuleInfo {
module("junit:junit", "junit")
module("org.mockito:mockito-core", "org.mockito")
module("org.mockito:mockito-junit-jupiter", "org.mockito.junit.jupiter")

// spotbugs
module("com.github.spotbugs:spotbugs-annotations", "com.github.spotbugs.annotations")
module("com.google.code.findbugs:jsr305", "java.annotation") { exportAllPackages() }
}
1 change: 1 addition & 0 deletions server/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
requires io.helidon.config;
requires io.helidon.webserver.grpc;
requires io.helidon.webserver;
requires static com.github.spotbugs.annotations;
}
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencyResolutionManagement {
version("com.google.protobuf", "3.24.0")
version("io.helidon.webserver.http2", "4.0.10")
version("io.helidon.webserver.grpc", "4.0.10")

version("com.github.spotbugs.annotations", "4.7.3")
// Testing only versions
version("org.assertj.core", "3.23.1")
version("org.junit.jupiter.api", "5.10.2")
Expand Down

0 comments on commit 3d3e880

Please sign in to comment.