blob: 4b7f9d36fad19a97ecab82fc53e94af8b0d59ecb [file]
import java.io.File
fun getSigningKeyInfo(): Map<String, Any>? {
val storeFilePath = System.getenv("APK_SIGNING_KEY_STORE_PATH")
return if (storeFilePath != null) {
mapOf(
"storeFile" to File(storeFilePath),
"storePassword" to System.getenv("APK_SIGNING_KEY_STORE_PASS"),
"keyAlias" to System.getenv("APK_SIGNING_KEY_ALIAS"),
"keyPassword" to System.getenv("APK_SIGNING_KEY_PASS"),
)
} else {
null
}
}