Fernando Neto
Fernando Neto

Reputation: 21

Auto-Deploy to Google-Play Store

Does anyone know a solution that allows me to auto-deploy to google-play whenever I launch a new version of an app?

The objective is to automate the process to have no human intervention.

Upvotes: 1

Views: 1621

Answers (1)

Nachi
Nachi

Reputation: 4248

You can use gradle-play-publisher.

Add this to your gradle dependancies:

classpath 'com.github.triplet.gradle:play-publisher:1.0.2'

Set up your credentials

play {
    serviceAccountEmail = 'your-service-account-email'
    pk12File = file('key.p12')
}

And you can build and upload your apk using

gradlew publishRelease

Upvotes: 1

Related Questions