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

Create separate task for generating JVM mapping file #335

Closed fractalwrench closed 4 years ago

fractalwrench commented 4 years ago

Goal

Creates a separate task named BugsnagGenerateProguardTask that finds the mapping file which will be uploaded to Bugsnag. This will make it possible to cache compressed ProGuard mapping files on disk if the upload task fails.

The changeset additionally reorganises the task name/intermediate location calculations so that they live in separate files from BugsnagPlugin.

Changeset

Testing

Relied on existing E2E tests - this should not result in any functional changes to the plugin.