|
|
@ -4,6 +4,7 @@ apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'de.undercouch.download'
|
|
|
|
apply plugin: 'de.undercouch.download'
|
|
|
|
|
|
|
|
|
|
|
|
def getVersionCode = { -> return 1726 }
|
|
|
|
def getVersionCode = { -> return 1726 }
|
|
|
|
|
|
|
|
def getRevision = { -> "\"b\"" }
|
|
|
|
def getReleaseName = { -> return "\"Yaverlandia\"" }
|
|
|
|
def getReleaseName = { -> return "\"Yaverlandia\"" }
|
|
|
|
// https://en.wikipedia.org/wiki/List_of_dinosaur_genera
|
|
|
|
// https://en.wikipedia.org/wiki/List_of_dinosaur_genera
|
|
|
|
|
|
|
|
|
|
|
@ -133,7 +134,7 @@ android {
|
|
|
|
productFlavors {
|
|
|
|
productFlavors {
|
|
|
|
github {
|
|
|
|
github {
|
|
|
|
dimension "all"
|
|
|
|
dimension "all"
|
|
|
|
buildConfigField "String", "REVISION", "\"b\""
|
|
|
|
buildConfigField "String", "REVISION", getRevision()
|
|
|
|
buildConfigField "boolean", "BETA_RELEASE", "true"
|
|
|
|
buildConfigField "boolean", "BETA_RELEASE", "true"
|
|
|
|
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
|
|
|
|
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
|
|
|
|
buildConfigField "boolean", "AMAZON_RELEASE", "false"
|
|
|
|
buildConfigField "boolean", "AMAZON_RELEASE", "false"
|
|
|
@ -144,7 +145,7 @@ android {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fdroid {
|
|
|
|
fdroid {
|
|
|
|
dimension "all"
|
|
|
|
dimension "all"
|
|
|
|
buildConfigField "String", "REVISION", "\"a\""
|
|
|
|
buildConfigField "String", "REVISION", getRevision()
|
|
|
|
buildConfigField "boolean", "BETA_RELEASE", "true"
|
|
|
|
buildConfigField "boolean", "BETA_RELEASE", "true"
|
|
|
|
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
|
|
|
|
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
|
|
|
|
buildConfigField "boolean", "AMAZON_RELEASE", "false"
|
|
|
|
buildConfigField "boolean", "AMAZON_RELEASE", "false"
|
|
|
@ -156,7 +157,7 @@ android {
|
|
|
|
play {
|
|
|
|
play {
|
|
|
|
dimension "all"
|
|
|
|
dimension "all"
|
|
|
|
//minSdkVersion 23
|
|
|
|
//minSdkVersion 23
|
|
|
|
buildConfigField "String", "REVISION", "\"a\""
|
|
|
|
buildConfigField "String", "REVISION", getRevision()
|
|
|
|
buildConfigField "boolean", "BETA_RELEASE", "true"
|
|
|
|
buildConfigField "boolean", "BETA_RELEASE", "true"
|
|
|
|
buildConfigField "boolean", "PLAY_STORE_RELEASE", "true"
|
|
|
|
buildConfigField "boolean", "PLAY_STORE_RELEASE", "true"
|
|
|
|
buildConfigField "boolean", "AMAZON_RELEASE", "false"
|
|
|
|
buildConfigField "boolean", "AMAZON_RELEASE", "false"
|
|
|
|