sentry-android-gradle-plugin
sentry-android-gradle-plugin copied to clipboard
It is not possible to disable auto installation (sentry.autoInstallation.enabled = false, does not work)
Gradle Version
7.5.1
AGP Version
7.2.2
Code Minifier/Optimizer
No response
Version
3.1.4
Sentry SDK Version
6.0.0, 6.3.1, any...
Steps to Reproduce
- Install
io.sentry:sentry-android-gradle-plugin:3.1.4to the project where timber, okhttp and fragments are used - In the
app/build.gradletry to turn off auto installation by adding code block:
autoInstallation {
enabled = false
sentryVersion = '6.0.0' //this line should not matter)
}
- Sync the project
Expected Result
io.sentry:sentry-android-fragment or io.sentry:sentry-android-timber or io.sentry:sentry-android-okhttp should not be added to the dependencies
Actual Result
Dependencies for io.sentry:sentry-android-okhttp:6.0.0, io.sentry:sentry-android-timber:6.0.0, io.sentry:sentry-android-fragment:6.0.0 are added to the dependencies
Could you share a reproducible example? Because it works on our samples, see here - https://github.com/getsentry/sentry-android-gradle-plugin/blob/40ee9bfc5022ade61640130de38a9c89ad503e57/examples/android-guardsquare-proguard/build.gradle#L52-L54
Have you put this snippet inside the sentry { } block?
Closing this with no response for over a month, please feel free to reopen with more details. Thanks!