Skip to content

uploadSentryProguardMappings runs before/parallel with KGP 2.3.0's mergeComposeMapping, causing upload failures #5045

@Angelodaniel

Description

@Angelodaniel

Integration

sentry-android

Build System

Gradle

AGP Version

Proguard

Enabled

Version

8.19.1

Steps to Reproduce

seems that KGP 2.3.0 introduced new tasks for better Compose stacktraces, and our hooks no longer work with that (our task runs after minify but before or in parallel with mergeComposeMapping and this causes our task to use the file location where the mapping file might not yet exist)

moreover this task even modifies the SHA header which we rely on, so we need to make sure our task runs after it

Expected Result

Debug files work

Actual Result

Missing debug files and obfuscated stack traces

Metadata

Metadata

Assignees

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions