From 7816eb1b2c3820b8e74fbdc8455b22ea35e32d2b Mon Sep 17 00:00:00 2001 From: cgspine Date: Tue, 17 Aug 2021 15:25:24 +0800 Subject: [PATCH] update version --- arch/build.gradle | 1 - gradle.properties | 6 ++---- .../com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java | 3 ++- .../java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java | 5 ++++- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/arch/build.gradle b/arch/build.gradle index 23ec17925..081abf700 100644 --- a/arch/build.gradle +++ b/arch/build.gradle @@ -26,7 +26,6 @@ android { dependencies { api "androidx.appcompat:appcompat:$appcompatVersion" api "androidx.fragment:fragment:1.3.6" - api project(':arch-annotation') compileOnly project(':qmui') testImplementation "junit:junit:$junitVersion" diff --git a/gradle.properties b/gradle.properties index 6e9da52f5..60aa50b9f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -22,10 +22,8 @@ android.useAndroidX=true android.enableJetifier=true GROUP=com.qmuiteam -QMUI_VERSION=2.0.0-alpha13 -QMUI_ARCH_VERSION=2.0.0-alpha13 -QMUI_LINT_VERSION = 1.1.0 -QMUI_SKIN_MAKER_VERSION = 0.0.1 +QMUI_VERSION=2.0.1 +QMUI_ARCH_VERSION=2.0.1 QMUI_TYPE_VERSION = 0.0.13 POM_GIT_URL=https://github.com/Tencent/QMUI_Android/ POM_SITE_URL=https://qmuiteam.com/android \ No newline at end of file diff --git a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java index 348e6abed..251c66183 100644 --- a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java +++ b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java @@ -53,7 +53,8 @@ public class QDUpgradeManager { public static final int VERSION_2_0_0_alpha9 = -2009; public static final int VERSION_2_0_0_alpha10 = -2010; public static final int VERSION_2_0_0_alpha11 = -2011; - private static final int sCurrentVersion = VERSION_2_0_0_alpha11; + public static final int VERSION_2_0_1 = 201; + private static final int sCurrentVersion = VERSION_2_0_1; private static QDUpgradeManager sQDUpgradeManager = null; private UpgradeTipTask mUpgradeTipTask; diff --git a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java index ab0e26f13..f5ea53a74 100644 --- a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java +++ b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java @@ -71,7 +71,10 @@ private void appendBlockSpace(Context context, SpannableStringBuilder builder) { public CharSequence getUpgradeWord(final Activity activity) { SpannableStringBuilder text = new SpannableStringBuilder(); - if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha11){ + if(mNewVersion == QDUpgradeManager.VERSION_2_0_1){ + text.append("1. Published to MavenCentral.\n"); + text.append("2. Updated dep versions.\n"); + }else if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha11){ text.append("1. Feature: Added a new widget: QMUINavFragment.\n"); text.append("2. Remove LazyLifecycle, use maxLifecycle for replacement.\n"); text.append("3. Some bug fixes.\n");