buildSrc/src/main/kotlin/play-store-publish.gradle.kts
author Da Risk <da_risk@geekorum.com>
Sun, 10 May 2020 21:25:19 -0400
changeset 9 817ec8de14ea
parent 1 831cffa9c991
child 10 9aad34f43f71
permissions -rw-r--r--
Avdl: define ordering between projects

package com.geekorum.build

/**
 Configuration for "com.github.triplet.play" plugin
 This configuration expects the given properties
 PLAY_STORE_JSON_KEY_FILE: google play console service credentials json file to use
 PLAY_STORE_TRACK: track to publish the build, default to internal but can be set to alpha, beta or production
 PLAY_STORE_FROM_TRACK: track from which to promote a build, default to internal but can be set to alpha, beta or production
*/

if (findProperty("PLAY_STORE_JSON_KEY_FILE") != null) {
    configureAndroidPlayStorePublisher()
}