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
Registered BugsnagUploadJsSourceMapTask on each build variant that has a bundleJsAssets task defined and uploadReactNativeMappings set to true
Set the task inputs as the JS bundle file, sourcemap file, and the parsed AndroidManifest. The task output (success/failure) is recorded in an intermediate file
Introspected the command line arguments of the bundleJsAssetsExec task to retrieve the sourcemap/bundle files
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
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
BugsnagUploadJsSourceMapTask
on each build variant that has abundleJsAssets
task defined anduploadReactNativeMappings
set to truebundleJsAssets
Exec task to retrieve the sourcemap/bundle filesTesting
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