Skip to content

Commit

Permalink
docs(crashlytics): add Crashlytics Gradle plugin section
Browse files Browse the repository at this point in the history
  • Loading branch information
robingenz committed Dec 3, 2024
1 parent 29eba4d commit 1b44da4
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion packages/crashlytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,24 @@ Add Firebase to your project if you haven't already ([Android](https://github.co

### Android

See [Add the Firebase Crashlytics plugin to your app](https://firebase.google.com/docs/crashlytics/get-started?platform=android#add-plugin) and follow the instructions to set up your app correctly.
#### Crashlytics Gradle plugin

First, add the dependency for the Crashlytics Gradle plugin to your root-level (project-level) Gradle file (`<project>/build.gradle`):

```diff
buildscript {
dependencies {
+ // Add the dependency for the Crashlytics Gradle plugin
+ classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'
}
}
```

Add the Crashlytics Gradle plugin to your module (app-level) Gradle file (usually `<project>/<app-module>/build.gradle`):

```gradle
apply plugin: 'com.google.firebase.crashlytics'
```

#### Variables

Expand Down

0 comments on commit 1b44da4

Please sign in to comment.