Upload ProGuard/R8 obfuscation mapping files for stack traces deobfuscation.
FastStats resolves obfuscated Java stack traces using uploaded ProGuard/R8 mapping files.
The recommended workflow is the dev.faststats.proguard-mappings-upload Gradle plugin.
The plugin automatically detects Android R8/ProGuard mapping file outputs when the Android Gradle Plugin is present.
No additional configuration is needed beyond the auth token:
Setting proguardTask ensures the upload task runs after ProGuard finishes. mappingFiles must match the location
configured in your printmapping setting.
When proguardTask is set, running ./gradlew uploadProguardMappings is
sufficient: the ProGuard task will run automatically as a dependency. Running
./gradlew proguard uploadProguardMappings would execute ProGuard twice.
Generate an API key in your FastStats project settings. The plugin accepts it via the authToken option
or the FASTSTATS_AUTH_TOKEN environment variable.
The upload auth token is a secret and must never be committed to version
control or exposed publicly. Always use environment variables or a secrets
manager to provide it, especially in CI pipelines.