Publish Android App to Google Play Store using Bitrise and GPP

The tutorial shows how to use Gradle Play Publisher(GPP) with Bitrise to publish Android application to the Google Play Store. This is part of a series of tutorials for building Android Continuous Integration and Continuous Delivery (CI/CD) with Bitrise.

Assumption:

App build.gradle configuration:

play {
track = "internal"
// or 'rollout', 'beta', 'alpha' or 'production'
serviceAccountEmail = "release@ap51.iam.gserviceaccount.com"
serviceAccountCredentials = file('google-account-cert.p12')
defaultToAppBundles = true
// Gradle task "./gradlew publish" (publishes bundle)
}

Bitrise configuration:

Bitrise step: Gradle Runner

software engineer, read, swim, travel. apps: https://goo.gl/rDuuQw https://goo.gl/15GvfE

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store