From ef4ab6e39fe906283ca0757987290e4133a8e2ee Mon Sep 17 00:00:00 2001 From: wangcongtao Date: Thu, 21 May 2020 15:02:39 +0800 Subject: [PATCH] opt --- .idea/misc.xml | 2 +- app/build.gradle | 4 ++-- config.gradle | 1 - gradle.properties | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 707ee6e613..2dc54c489f 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index cfece5f7c6..220945510b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,8 +10,8 @@ android { defaultConfig { minSdkVersion rootProject.ext.android.minSdkVersion targetSdkVersion rootProject.ext.android.targetSdkVersion - versionCode generateVersionCode() - versionName "${rootProject.ext.android.versionName}.${getMonthAndDay()}" + versionCode rootProject.versionCode as int + versionName rootProject.versionName applicationId rootProject.ext.android.applicationId testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/config.gradle b/config.gradle index eaf710f48d..291ffe3d5b 100644 --- a/config.gradle +++ b/config.gradle @@ -6,7 +6,6 @@ ext { buildToolsVersion : "29.0.2", minSdkVersion : 19, targetSdkVersion : 22, - versionName : "8.0.6", ] dependencies = [ diff --git a/gradle.properties b/gradle.properties index fd786cf4e4..678110b1c6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -77,5 +77,5 @@ MOGO_MODULE_AD_CARD_VERSION=1.0.1 ## 产品库必备配置 applicationId=com.mogo.launcer applicationName=Launcer2.0 -versionCode=1 -versionName=1.0.0 \ No newline at end of file +versionCode=80006 +versionName=8.0.6 \ No newline at end of file