Gradle plugin for uploading Android ProGuard/R8 mapping files to Rollbar for deobfuscation.
plugins {
id 'com.rollbar.plugins.android' version '<latest>'
}
rollbar {
apiToken = "<token>"
variantsToUpload = ["externalProductionRelease", "internalProductionRelease"] // if left empty, "release" buildType will be used
}This should produce the below output:
...
> Configure project :app
Configuring Rollbar plugin for variant externalProductionRelease with task name uploadRollbarMappingFileExternalProductionRelease
Configuring Rollbar plugin for variant internalProductionRelease with task name uploadRollbarMappingFileInternalProductionRelease
...Publish the latest changes from the rollbar-android plugin to mavenLocal:
./gradlew publishToMavenLocalCredit to https://github.com/anthonymonori for getting this off the ground.