# Gson version 2.12.0 # Java / Android version any java version # Used tools <!-- List relevant build tools and plugins with version number here which might affect Gson --> - [x] Maven; version: - [ ] Gradle; version: - [ ] ProGuard (attach the configuration file please); version: - [ ] ... # Description Currently the gson release requires in its manifest: `com.google.errorprone.annotations;version="[2.36,3)"` this requires to pull in the error prone annotations to the OSGi runtime. ## Expected behavior The annotations should only be imported with optional `com.google.errorprone.annotations;version="[2.36,3)";resolution:=optional` because they are not interesting/required at runtime, see also - https://github.com/google/error-prone/issues/4797 or not imported at all.