Using a BOM
Learn more about using a bill of materials with multiple Sentry dependencies.
When you are using multiple Sentry dependencies, you can avoid specifying the version of each dependency with a BOM or Bill Of Materials.
Using Gradle 5.0 or higher, you can add the following to the dependencies
section in your build.gradle
:
build.gradle
Copied
implementation platform('io.sentry:sentry-bom:7.19.0') //import bom
implementation('io.sentry:sentry-android') //no version specified
implementation('io.sentry:sentry-android-fragment') //no version specified
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").