Skip to content

Only import errorprone.annotations with optional (if at all) #2794

@laeubi

Description

@laeubi

Gson version

2.12.0

Java / Android version

any java version

Used tools

  • 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

or not imported at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions