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

Relative dexguard folders #421

Closed lemnik closed 3 years ago

lemnik commented 3 years ago

Goal

Dexguard paths configured relative to the project should be resolved correctly by the Bugsnag Android Gradle Plugin:

dexguard {
    path '../DexGuard-9.1.10'
   ...
    }
}

Changeset

Use the Gradle project.file function to resolve the path according to the Gradle project rules.

Testing

Tested manually using the support-provided Dexguard9 example project.