Skip to content

Commit abdc4b5

Browse files
authored
chore(android): Update SAGP versions and re-add deprecated flag (#4707)
1 parent 3ade975 commit abdc4b5

File tree

4 files changed

+23
-5
lines changed

4 files changed

+23
-5
lines changed

src/platforms/android/common/gradle.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,26 @@ We expose the following configuration values directly in your `app/build.gradle`
5151
import io.sentry.android.gradle.InstrumentationFeature
5252
5353
sentry {
54+
// Enables or disables the automatic upload of mapping files
55+
// during a build. If you disable this, you'll need to manually
56+
// upload the mapping files with sentry-cli when you do a release.
57+
// Default is enabled.
58+
// Deprecated in v3.0.0 and above
59+
autoUpload = true
60+
5461
// Disables or enables the handling of Proguard mapping for Sentry.
5562
// If enabled the plugin will generate a UUID and will take care of
5663
// uploading the mapping to Sentry. If disabled, all the logic
5764
// related to proguard mapping will be excluded.
5865
// Default is enabled.
66+
// Only available v3.0.0 and above.
5967
includeProguardMapping = true
6068
6169
// Whether the plugin should attempt to auto-upload the mapping file to Sentry or not.
6270
// If disabled the plugin will run a dry-run and just generate a UUID.
6371
// The mapping file has to be uploaded manually via sentry-cli in this case.
6472
// Default is enabled.
73+
// Only available v3.0.0 and above.
6574
autoUploadProguardMapping = true
6675
6776
// Disables or enables the automatic configuration of Native Symbols
@@ -94,17 +103,26 @@ sentry {
94103
import io.sentry.android.gradle.InstrumentationFeature
95104

96105
sentry {
106+
// Enables or disables the automatic upload of mapping files
107+
// during a build. If you disable this, you'll need to manually
108+
// upload the mapping files with sentry-cli when you do a release.
109+
// Default is enabled.
110+
// Deprecated in v3.0.0 and above
111+
autoUpload.set(true)
112+
97113
// Disables or enables the handling of Proguard mapping for Sentry.
98114
// If enabled the plugin will generate a UUID and will take care of
99115
// uploading the mapping to Sentry. If disabled, all the logic
100116
// related to proguard mapping will be excluded.
101117
// Default is enabled.
118+
// Only available v3.0.0 and above.
102119
includeProguardMapping.set(true)
103120

104121
// Whether the plugin should attempt to auto-upload the mapping file to Sentry or not.
105122
// If disabled the plugin will run a dry-run and just generate a UUID.
106123
// The mapping file has to be uploaded manually via sentry-cli in this case.
107124
// Default is enabled.
125+
// Only available v3.0.0 and above.
108126
autoUploadProguardMapping.set(true)
109127

110128
// Disables or enables the automatic configuration of Native Symbols

src/platforms/android/configuration/integrations/file-io.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ buildscript {
3030
}
3131
3232
plugins {
33-
id "io.sentry.android.gradle" version "3.0.0-beta.3"
33+
id "io.sentry.android.gradle" version "3.0.0-beta.4"
3434
}
3535
3636
dependencies {
@@ -46,7 +46,7 @@ buildscript {
4646
}
4747

4848
plugins {
49-
id("io.sentry.android.gradle") version "3.0.0-beta.3"
49+
id("io.sentry.android.gradle") version "3.0.0-beta.4"
5050
}
5151

5252
dependencies {

src/platforms/android/configuration/integrations/room-and-sqlite.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ buildscript {
3030
}
3131
3232
plugins {
33-
id "io.sentry.android.gradle" version "3.0.0-beta.3"
33+
id "io.sentry.android.gradle" version "3.0.0-beta.4"
3434
}
3535
3636
dependencies {
@@ -46,7 +46,7 @@ buildscript {
4646
}
4747

4848
plugins {
49-
id("io.sentry.android.gradle") version "3.0.0-beta.3"
49+
id("io.sentry.android.gradle") version "3.0.0-beta.4"
5050
}
5151

5252
dependencies {

src/wizard/android/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Check out [the documentation](https://docs.sentry.io/platforms/android/performan
118118

119119
> Want to play with some new features? Try out our beta [Room](https://docs.sentry.io/platforms/android/configuration/integrations/room-and-sqlite/) and [file I/O](https://docs.sentry.io/platforms/android/configuration/integrations/file-io/) performance integrations.
120120
>
121-
> This feature is available in the Beta release of the [Sentry Android Gradle plugin](https://docs.sentry.io/platforms/android/gradle); you must use version `3.0.0-beta.3`. The `tracingInstrumentation` option is enabled by default, so Sentry automatically measures the performance of the database queries done with Room as well as file I/O operations if you set a tracing sample rate. Features in Beta are still a work-in-progress and may have bugs. We recognize the irony.
121+
> This feature is available in the Beta release of the [Sentry Android Gradle plugin](https://docs.sentry.io/platforms/android/gradle); you must use version `3.0.0-beta.4`. The `tracingInstrumentation` option is enabled by default, so Sentry automatically measures the performance of the database queries done with Room as well as file I/O operations if you set a tracing sample rate. Features in Beta are still a work-in-progress and may have bugs. We recognize the irony.
122122
>
123123
> Let us know if you have feedback through [GitHub issues](https://github.com/getsentry/sentry-android-gradle-plugin/issues).
124124

0 commit comments

Comments
 (0)