Reputation: 21
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
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