buildSrc/src/main/kotlin/play-store-publish.gradle.kts
author Da Risk <da_risk@geekorum.com>
Sat, 09 May 2020 01:47:14 -0400
changeset 6 99ad8c14fec2
parent 1 831cffa9c991
child 10 9aad34f43f71
permissions -rw-r--r--
Add missing source license headers

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()
}