Skip to content

Switch to compileOnly dependencies for integrations #2125

@romtsn

Description

@romtsn

Description

At the moment we declare all integration dependencies (e.g. okhttp for sentry-okhttp-intreceptor) as implementation. This means we are potentially overriding user-defined dependencies, if they use an older version of okhttp. We should switch those dependencies to be compileOnly so at runtime we'd actually use what user has defined in their deps.

We should cautious about incompatible versions though, at best we could define version constraints for the min. supported version, at worst have a note for each integration/troubleshooting page on the docs

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions