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

Support Unity builds using internal Gradle #315

Closed fractalwrench closed 4 years ago

fractalwrench commented 4 years ago

Goal

It's possible to build a Unity project either by exporting symbols to an archive, which is supported, or by using Unity's internal Gradle build. This changeset adds support for uploading Unity SO mapping files for the second use case.

Changeset

Testing

Manually tested on a Unity 2018 and 2019 example project and confirmed that a SO mapping file was generated in the appropriate build directory. Due to the nature of the change E2E tests were not seen as feasible on CI for now and manual testing was agreed as part of the design.