Browse Source

Merge 230f8f3917 into 43ae0bb455

pull/4438/merge
nailyk 9 months ago committed by GitHub
parent
commit
9c883c61c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 11
      app/build.gradle

11
app/build.gradle

@ -24,6 +24,15 @@ final def CUSTOM_INSTANCE = ""
// link to your support account. Will be linked on the about page when not empty.
final def SUPPORT_ACCOUNT_URL = "https://mastodon.social/@Tusky"
/**
* Use the number of seconds/10 since Jan 1 2016 as the versionCode.
* This lets us upload a new build at most every 10 seconds for the
* next 680 years.
*/
def greenvcode = (int)(((new Date().getTime()/1000) - 1451606400) / 10)
android {
compileSdk 36
namespace "com.keylesspalace.tusky"
@ -69,6 +78,8 @@ android {
resValue "string", "app_name", APP_NAME + " Test"
applicationIdSuffix ".test"
versionNameSuffix "-" + gitSha
// Always use a bigger versionCode to trigger Android/F-Droid update process
versionCode greenvcode
isDefault true
}
}

Loading…
Cancel
Save