de.triplet.gradle.play.PlayPublisherPluginExtension.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of play-publisher Show documentation
Show all versions of play-publisher Show documentation
Gradle Play Publisher is a plugin that allows you to upload your App Bundle or APK and other app details to the Google Play Store.
package de.triplet.gradle.play
class PlayPublisherPluginExtension {
String serviceAccountEmail
File pk12File
boolean uploadImages = false
boolean errorOnSizeLimit = true
private String track = 'alpha'
void setTrack(String track) {
if (!(track in ['alpha', 'beta', 'production'])) {
throw new IllegalArgumentException("Track has to be one of 'alpha', 'beta', or 'production'.")
}
this.track = track
}
def getTrack() {
return track
}
}