Use GitHub pages URLs for public channel JSONs

This commit is contained in:
topjohnwu
2020-10-03 01:57:53 -07:00
parent 241f2656fa
commit 716f06846b
7 changed files with 34 additions and 17 deletions

View File

@@ -3,11 +3,14 @@ plugins {
}
android {
val canary = !Config["appVersion"].orEmpty().contains(".")
defaultConfig {
applicationId = "com.topjohnwu.magisk"
versionCode = 1
versionName = Config["appVersion"]
buildConfigField("String", "DEV_CHANNEL", Config["DEV_CHANNEL"] ?: "null")
buildConfigField("boolean", "CANARY", if (canary) "true" else "false")
}
buildTypes {