Distribution with Gradle

If you want to distribute your app via Gradle, make sure you’re on version 1.11.4 or higher of the Gradle tool and run the following command:

gradle assembleRelease crashlyticsUploadDistributionRelease

Add these properties on your BuildType or Flavor for end-to-end distribution:

Release Notes

ext.betaDistributionReleaseNotes="Release Notes for this build."

or

ext.betaDistributionReleaseNotesFilePath=”path/to/release_notes.txt”

Testers

ext.betaDistributionEmailsFilePath="beta_distribution_emails.txt"

or a comma-separated list of testers:

ext.betaDistributionEmails="BetaUser@yourcompany.com, BetaUser2@yourcompany.com"

Groups

ext.betaDistributionGroupAliases="my-best-testers"

or a comma-separated file of the group aliases:

ext.betaDistributionGroupAliasesFilePath=group_aliases.txt

Email Notifications

To disable email notifications for all testers:

ext.betaDistributionNotifications=false