Beta distributions with Gradle

This page is now deprecated. For the latest version, please click here.
Want to distribute your app via Gradle? Make sure you're on version 1.13.0 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:


For Release Notes:
ext.betaDistributionReleaseNotes=”Release Notes for this build.”

or

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

For Testers:
ext.betaDistributionEmailsFilePath="beta_distribution_emails.txt"

or a comma-separated file of testers - just include their email address:

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

For Groups:
ext.betaDistributionGroupAliases=”my-best-testers”

or a comma-separated file of the group aliases:

ext.betaDistributionGroupAliasesFilePath=group_aliases.txt

To disable email notifications for all testers:
ext.betaDistributionNotifications=false

Feedback and Knowledge Base