version:1.0

fix:
update:更换包名
This commit is contained in:
2023-02-08 12:04:19 +08:00
parent f8b3d96ced
commit ace6008709
184 changed files with 689 additions and 7446 deletions

View File

@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
apply plugin: "com.tencent.android.tpns"
def appName() {
return "关怀系统OS"
return "科大讯飞学习桌面"
}
def releaseTime() {
@@ -13,11 +13,11 @@ android {
compileSdkVersion 29
defaultConfig {
applicationId "com.uiui.aios"
applicationId "com.uiui.zyos"
minSdkVersion 24
targetSdkVersion 29
versionCode 76
versionName "8.5"
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -49,76 +49,23 @@ android {
}
signingConfigs {
zhanRui {
storeFile file("keystore/zhanxun.keystore")
storePassword "123456"
keyAlias "zhanxun"
keyPassword "123456"
v1SigningEnabled true
v2SigningEnabled true
}
mtk {
storeFile file("keystore/xueshibaoos.jks")
storePassword "123456"
keyAlias "xueshibaoos"
keyPassword "123456"
v2SigningEnabled false
}
mtk12 {
storeFile file("keystore/mtkAndroid12.keystore")
storeFile file("keystore/TeclastMTK12.jks")
storePassword "123456"
keyAlias "mtk12"
keyAlias "TeclastMTK12"
keyPassword "123456"
v2SigningEnabled false
}
}
buildTypes {
MTKAndroid12Release.initWith(release)
MTKAndroid12Release {
signingConfig signingConfigs.mtk12
manifestPlaceholders = [
Baidu_AK: "ZauKWLbO0AfHSgR2j3unMkP0MwbBZHxO"
]
}
MTKAndroid12Debug.initWith(debug)
MTKAndroid12Debug {
versionNameSuffix "-debug"
debuggable true
signingConfig signingConfigs.mtk12
manifestPlaceholders = [
Baidu_AK: "ZauKWLbO0AfHSgR2j3unMkP0MwbBZHxO"
]
}
zhanRuiRelease.initWith(release)
zhanRuiRelease {
signingConfig signingConfigs.zhanRui
manifestPlaceholders = [
Baidu_AK: "rKsRkc6YbQbHLyiAGCDqukj9ltkU2S7M"
]
}
zhanRuiDebug.initWith(debug)
zhanRuiDebug {
versionNameSuffix "-debug"
debuggable true
signingConfig signingConfigs.zhanRui
manifestPlaceholders = [
Baidu_AK: "rKsRkc6YbQbHLyiAGCDqukj9ltkU2S7M"
]
}
debug {
// 显示Log
versionNameSuffix "-debug"
minifyEnabled false
//Zipalign优化
zipAlignEnabled true
signingConfig signingConfigs.mtk
signingConfig signingConfigs.mtk12
applicationVariants.all { variant ->
variant.outputs.each { output ->
if (outputFile != null) {
@@ -142,7 +89,7 @@ android {
//前一部分代表系统默认的android程序的混淆文件该文件已经包含了基本的混淆声明后一个文件是自己的定义混淆文件
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
//签名
signingConfig signingConfigs.mtk
signingConfig signingConfigs.mtk12
// 将release版本的包名重命名加上版本及日期
applicationVariants.all { variant ->
variant.outputs.each { output ->
@@ -164,7 +111,6 @@ android {
dependencies {
// implementation fileTree(dir: 'libs', include: ['*.jar'])
compileOnly files('libs/framework.jar')
implementation files('libs/QWeather_Public_Android_V4.9.jar')
implementation project(path: ':niceimageview')
//保持1.3.1 更新会报错
@@ -213,8 +159,6 @@ dependencies {
//bindView
implementation 'com.jakewharton:butterknife:10.2.3'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3'
//百度地图
// implementation 'com.baidu.lbsyun:BaiduMapSDK_Location:9.1.8'
//MMKV
implementation 'com.tencent:mmkv-static:1.2.14'
implementation 'com.tencent.tpns:tpns:1.3.7.0-release'
@@ -222,6 +166,8 @@ dependencies {
implementation 'com.gitee.zackratos:UltimateBarX:0.8.0'
//指示器
implementation 'com.github.hackware1993:MagicIndicator:1.7.0' // for androidx
// implementation 'io.github.h07000223:flycoTabLayout:3.0.0'
implementation 'com.github.liyujiang-gzu:FlycoTabLayout:781b8829a7'
implementation 'com.king.view:circleprogressview:1.1.2'
//工具类
implementation 'com.blankj:utilcodex:1.31.0'