You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `sentryProguard.noUpload` function is useful for development purposes.
31
37
Normally, you don't want to upload the mapping file to Sentry while creating a minified version on developer machines.
32
38
Instead, you just want to upload the mapping file on your CI. In case you do a "real release".
@@ -43,6 +49,14 @@ By default, you don't set the [Gradle property](https://docs.gradle.org/8.0.2/us
43
49
In this case the plugin won't upload the mapping files.
44
50
On your CI, however, you set the property and therefore the mapping file will be uploaded.
45
51
52
+
**cliConfig**:
53
+
54
+
This option is **not required** to be overridden or to be changed.
55
+
By default, the plugin will download the version of the Sentry CLI bundled with the plugin and use it to upload the mapping file.
56
+
However, if you want to use a custom version of the Sentry CLI and this would require to change the command to upload the mapping file, you can do so by overriding the `cliConfig` configuration.
57
+
The `command` property can contain various placeholders like `${SentryCliConfig.PlaceHolder.CLI_FILE_PATH}` or `${SentryCliConfig.PlaceHolder.ORG}`.
58
+
Those placeholders will be replaced by the plugin with the actual values before executing the command.
59
+
46
60
## How it works under the hood
47
61
48
62
If you run "any" task on a [`minifiedEnabled`](https://developer.android.com/reference/tools/gradle-api/8.0/com/android/build/api/variant/CanMinifyCode)[build type](https://developer.android.com/studio/build/build-variants#build-types), the Plugin will:
0 commit comments