Skip to content

GraalVM properties file in Android artifact #2887

@G00fY2

Description

@G00fY2

Integration

sentry-android

Build System

Gradle

AGP Version

8.0.2

Proguard

Enabled

Version

6.28.0

Steps to Reproduce

Build Android project which uses Sentry.

Expected Result

META-INF in build artifact (APK) should only contain required files.

Actual Result

Sentry adds META-INF/native-image/io.sentry/sentry/native-image.properties file.

Not really a "bug" but since we like to keep our artifact clean would be nice if this file could be excluded from being packaged when used with Android.

Update: Looks like this can't be easily done. At least AGP seems to not support exclude rules from libraries. Even Google itself run into this limitation: ohs-foundation/android-fhir#534 (comment)

So maybe something we can just exclude on client side or maybe a FR for the Sentry Android Gradle Plugin.

Metadata

Metadata

Assignees

Labels

BugIssue type
No fields configured for issues without a type.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions