SentryPluginExtension

abstract class SentryPluginExtension @Inject constructor(project: Project)

Functions

autoInstallation
Link copied to clipboard
fun autoInstallation(autoInstallationAction: Action<AutoInstallExtension>)

Configure the auto installation feature.

tracingInstrumentation
Link copied to clipboard
fun tracingInstrumentation(tracingInstrumentationAction: Action<TracingInstrumentationExtension>)

Configure the tracing instrumentation. Default configuration is enabled.

Properties

autoInstallation
Link copied to clipboard
val autoInstallation: AutoInstallExtension
autoUpload
Link copied to clipboard
val autoUpload: Property<Boolean>

Whether the plugin should attempt to auto-upload the mapping file to Sentry or not. If disabled the plugin will run a dry-run. Default is enabled.

autoUploadNativeSymbols
Link copied to clipboard
val autoUploadNativeSymbols: Property<Boolean>

Whether the plugin should attempt to auto-upload the native debug symbols to Sentry or not. If disabled the plugin will run a dry-run. Default is enabled.

autoUploadProguardMapping
Link copied to clipboard
val autoUploadProguardMapping: Property<Boolean>

Whether the plugin should attempt to auto-upload the mapping file to Sentry or not. If disabled the plugin will run a dry-run. Default is enabled.

experimentalGuardsquareSupport
Link copied to clipboard
val experimentalGuardsquareSupport: Property<Boolean>

Experimental flag to turn on support for GuardSquare's tools integration (Dexguard and External Proguard). If enabled, the plugin will try to consume and upload the mapping file produced by Dexguard and External Proguard. Default is disabled.

ignoredBuildTypes
Link copied to clipboard
val ignoredBuildTypes: SetProperty<String>

List of Android build types that should be ignored by the Sentry plugin.

ignoredFlavors
Link copied to clipboard
val ignoredFlavors: SetProperty<String>

List of Android build flavors that should be ignored by the Sentry plugin.

ignoredVariants
Link copied to clipboard
val ignoredVariants: SetProperty<String>

List of Android build variants that should be ignored by the Sentry plugin.

includeNativeSources
Link copied to clipboard
val includeNativeSources: Property<Boolean>

Includes or not the source code of native code for Sentry. This executes sentry-cli with the --include-sources param. automatically so you don't need to do it manually. Default is disabled.

includeProguardMapping
Link copied to clipboard
val includeProguardMapping: Property<Boolean>

Disables or enables the handling of Proguard mapping for Sentry. If enabled the plugin will generate a UUID and will take care of uploading the mapping to Sentry. If disabled, all the logic related to proguard mapping will be excluded. Default is enabled.

tracingInstrumentation
Link copied to clipboard
uploadNativeSymbols
Link copied to clipboard
val uploadNativeSymbols: Property<Boolean>

Disables or enables the automatic configuration of Native Symbols for Sentry. This executes sentry-cli automatically so you don't need to do it manually. Default is disabled.