You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sending Source Context via Sentry Gradle Plugin, I've noticed that the source is taken only from the main application module. This is problematic for multi-module setups, which are fairly common.
I've prepared a minimal reproduction project of what I have in mind.
I think it could be addressed manually with additionalSourceDirsForSourceContext, but I haven't prepared a working solution yet. Ideally, It'd be great if SAGP could do this internally (maybe as a non-default option?).
The text was updated successfully, but these errors were encountered:
The end goal would be for our gradle plugin to support applying on the root project level, so then we could have access to all modules, but this is a bit bigger initiative
Problem Statement
When sending Source Context via Sentry Gradle Plugin, I've noticed that the source is taken only from the main application module. This is problematic for multi-module setups, which are fairly common.
I've prepared a minimal reproduction project of what I have in mind.
Reproduction
An Android application with
x
app module andy
its dependency: https://github.com/wzieba/SentrySourceContextMultiModuleExpected behavior
Running
assembleRelease
prepares source context bundle with all classes fromx
and all classes fromy
modules.Current behavior
Running
assembleRelease
prepares source context bundle with only classes fromx
(proof: https://github.com/wzieba/SentrySourceContextMultiModule/actions/runs/8467510900/job/23198486580#step:5:20)Solution Brainstorm
I think it could be addressed manually with
additionalSourceDirsForSourceContext
, but I haven't prepared a working solution yet. Ideally, It'd be great if SAGP could do this internally (maybe as a non-default option?).The text was updated successfully, but these errors were encountered: