Used to automatically upload ProGuard mapping files to Bugfender.
Android Gradle Plugin 7.4 or newer, including AGP 9 with the new DSL. If you are on an older AGP, use plugin version 1.2.0.
Add the plugin to your app build.gradle file and configure it with the Symbols Upload Token, obtained from your Bugfender dashboard.
After that, every assembled app bundle will automatically send mapping file to Bugfender.
Add the Bugfender plugin to the plugins section and create a new bugfender section, like this:
plugins {
id("com.android.application")
// you may have other plugins here
id("com.bugfender.upload-mapping") version "1.3.0"
}
bugfender {
symbolicationToken("<your_token_here>")
}Add the Bugfender plugin to the plugins section and create a new bugfender section, like this:
plugins {
id "com.android.application"
// you may have other plugins here
id "com.bugfender.upload-mapping" version "1.3.0"
}
bugfender {
symbolicationToken "<your_token_here>"
}Note: in older project configurations, it's possible this file is not under an app directory.
If you're using a Bugfender instance other than dashboard.bugfender.com, you will need to specify the URL of your instance:
In app/build.gradle.kts (Kotlin):
bugfender {
symbolicationToken("<your_token_here>")
symbolicationURL("https://bugfender.yourcompany.com/")
}Or, if you have a app/build.gradle (Groovy):
bugfender {
symbolicationToken "<your_token_here>"
symbolicationURL "https://bugfender.yourcompany.com/"
}Error message org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.bugfender.upload-mapping', version: 'XXX'] was not found...
You may need to configure the plugin repositories in your settings.gradle.kts or settings.gradle file.
Add gradlePluginPortal() to the pluginManagement > repositories section, like this:
pluginManagement {
repositories {
// you may have other repos here
gradlePluginPortal()
}
}To use a local version that's not published to the maven central.
- Publish it to a local maven repository with
gradle publishToMavenLocaltask. - In the test project, add
mavenLocalto repositories insettings.gradle:
pluginManagement {
repositories {
mavenLocal()
(...)
}
}- Configure the plugin as described in
Usage.