version:1.7

fix:
update:增加抢购,修复bug
This commit is contained in:
2023-01-02 14:42:27 +08:00
parent 6f073ef28d
commit 4b01f9987f
117 changed files with 3598 additions and 898 deletions

View File

@@ -16,8 +16,8 @@ android {
applicationId "com.uiuios.aios"
minSdkVersion 24
targetSdkVersion 29
versionCode 3
versionName "1.2"
versionCode 8
versionName "1.7"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -50,7 +50,7 @@ android {
signingConfigs {
zhanRui {
storeFile file("src/doc/zhanxun.keystore")
storeFile file("keystore/zhanxun.keystore")
storePassword "123456"
keyAlias "zhanxun"
keyPassword "123456"
@@ -59,24 +59,43 @@ android {
}
mtk {
storeFile file("src/doc/xueshibaoos.jks")
storeFile file("keystore/xueshibaoos.jks")
storePassword "123456"
keyAlias "xueshibaoos"
keyPassword "123456"
v2SigningEnabled false
}
mtk12 {
storeFile file("keystore/mtkAndroid12.keystore")
storePassword "123456"
keyAlias "mtk12"
keyPassword "123456"
v1SigningEnabled true
v2SigningEnabled true
}
}
buildTypes {
MTKAndroid12Release.initWith(release)
MTKAndroid12Release {
signingConfig signingConfigs.mtk12
}
MTKAndroid12Debug.initWith(debug)
MTKAndroid12Debug {
versionNameSuffix "-debug"
debuggable true
signingConfig signingConfigs.mtk12
}
zhanRuiRelease.initWith(release)
zhanRuiRelease {
buildConfigField "boolean", "LOG_DEBUG", "false"
signingConfig signingConfigs.zhanRui
}
zhanRuiDebug.initWith(debug)
zhanRuiDebug {
buildConfigField "boolean", "LOG_DEBUG", "true"
versionNameSuffix "-debug"
debuggable true
signingConfig signingConfigs.zhanRui
@@ -84,7 +103,6 @@ android {
debug {
// 显示Log
buildConfigField "boolean", "LOG_DEBUG", "true"
versionNameSuffix "-debug"
minifyEnabled false
//Zipalign优化
@@ -102,7 +120,6 @@ android {
release {
// 不显示Log
buildConfigField "boolean", "LOG_DEBUG", "false"
//混淆
minifyEnabled false
//Zipalign优化
@@ -118,7 +135,6 @@ android {
if (outputFile != null) {
def fileName = "${appName()}-${variant.versionCode}-V${variant.versionName}-${releaseTime()}-${buildType.name}.apk"
output.outputFileName = new File(outputFile, fileName)
}
}
}
@@ -147,6 +163,8 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'com.google.android.material:material:1.0.0'
implementation "androidx.room:room-runtime:2.4.3"
annotationProcessor "androidx.room:room-compiler:2.4.3"