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 BugsnagUploadJsSourceMapTask and register for build variants #330

Closed fractalwrench closed 4 years ago

fractalwrench commented 4 years ago

Goal

Creates the BugsnagUploadJsSourceMapTask task and registers it to run against any build variants which have a RN bundleJsAssets task created. This task does not do anything functionally yet but is setup with the correct task inputs/outputs to upload sourcemaps to bugsnag - this will be added in a future PR.

Changeset

Testing

Ran the react native E2E scenario. While this does not yet verify that sourcemaps were uploaded, it does check that JVM mapping files are uploaded, and logs out the sourcemap/bundle file, proving that the task has run