From 8c9d2a8c5ac556b318b0aeb635b3db2e70e707d2 Mon Sep 17 00:00:00 2001 From: Shatyuka <958182453@qq.com> Date: Wed, 10 Nov 2021 14:55:41 +0800 Subject: [PATCH] Bump version --- README.md | 8 ++++++++ app/build.gradle | 12 ++++++++++-- gradle.properties | 5 ++++- 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d516dfe..d863d45 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,14 @@ An Android Xposed module to remove sponsored messages of Telegram +### Support clients + +- **Official** org.telegram.messenger +- **Official** org.telegram.messenger.web +- **NekoX** nekox.messenger +- **Nekogram** tw.nekomimi.nekogram +- **Plus Messenger** org.telegram.plus + ## License This project is licensed under the [GNU General Public Licence, version 3](https://choosealicense.com/licenses/gpl-3.0/). diff --git a/app/build.gradle b/app/build.gradle index 22e1413..eebd7d0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,8 +9,16 @@ android { applicationId "com.shatyuka.killergram" minSdk 16 targetSdk 31 - versionCode 1 - versionName "1.0" + versionCode appVerCode.toInteger() + versionName appVerName + } + applicationVariants.all { variant -> + variant.resValue "string", "app_version", variant.versionName + variant.outputs.all { output -> + if (variant.buildType.name == 'release') { + outputFileName = "Killergram_${defaultConfig.versionName}.apk" + } + } } buildTypes { diff --git a/gradle.properties b/gradle.properties index 52f5917..b6d9576 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,4 +16,7 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 # https://developer.android.com/topic/libraries/support-library/androidx-rn android.useAndroidX=true # Automatically convert third-party libraries to use AndroidX -android.enableJetifier=true \ No newline at end of file +android.enableJetifier=true + +appVerName=21.11.10 +appVerCode=202111100