Gradle dependency issue in v3.0.2 with Guava and Findbugs
envgap__dropwizard__dropwizard-7592
01 / FAILURE SIGNATURE
As reported upstream
Could not find com.google.code.findbugs:jsr305:.
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
dbdfaff230955053c6a42b7820c0fd3032c6ee1f- Manifest
dropwizard-dependencies/pom.xml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
dropwizard/dropwizard #7592 · read the original issue
We encountered an issue in the dependencies of v3.0.2 when building a project with gradle.
With v3.0.1 everything was fine.
The issue is related to the Findbugs dependency of Guava (which is excluded in the Drowizard pom):
```
Could not find com.google.code.findbugs:jsr305:.
Required by:
project : > io.dropwizard:dropwizard-core:3.0.2 > io.dropwizard:dropwizard-jackson:3.0.2 > com.google.guava:guava:32.1.2-jre
```
Attached you can find a minimal project to reproduce the issue.
It contains just a main class and the only dependency is dropwizard-core v3.0.2.
Build with `gradlew build` to check the error.
If you change the dropwizard-core version to v3.0.1 the project builds correctly.
Including only the guava dependency without dropwizard does not cause the issue, which is why I'm reporting here.
(Edit: seems to be acknowledged by Guava: https://github.com/google/guava/issues/6654 but a fix is not released yet?)
[dropwizard-test.zip](https://github.com/dropwizard/dropwizard/files/12763447/dropwizard-test.zip)
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]