bugsnag / bugsnag-android-gradle-plugin

Gradle plugin for BugSnag which uploads ProGuard, DexGuard and NDK mapping files, and sends build notifications
https://docs.bugsnag.com/build-integrations/gradle/
MIT License
70 stars 38 forks source link

Add DexGuard version config option #532

Closed ghost closed 1 year ago

ghost commented 1 year ago

Goal

Fix builds for users of DexGuard 9.4+

Design

Due to the DexGuard 9.4+ Gradle plugin no longer having a VERSION property, default to DexGaurd 9 behaviour when DexGuard is being used.

Users of earlier versions can use:

bugsnag.dexguardMajorVersion = 8

to revert to DexGuard 8 compatible behaviour.

Testing

Tested manually with DexGuard version 9.4 and DexGuard 8

lemnik commented 1 year ago

This PR needs to be based on the v8/next branch (but is currently based on v7 next)