Skip to content

rollbar/rollbar-gradle-plugin

Repository files navigation

rollbar-android

Gradle plugin for uploading Android ProGuard/R8 mapping files to Rollbar for deobfuscation.

Usage

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
...

How to test

Publish the latest changes from the rollbar-android plugin to mavenLocal:

./gradlew publishToMavenLocal

Credit to https://github.com/anthonymonori for getting this off the ground.

About

Gradle plugin that uploads source code mappings to Rollbar

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages