version:1.0.8

fix:
update:优化管控
This commit is contained in:
2023-10-31 10:27:03 +08:00
parent 4daf5ab92f
commit 62fa007695
42 changed files with 2733 additions and 171 deletions

View File

@@ -50,8 +50,8 @@ android {
minSdkVersion 26
targetSdkVersion 28
versionCode 3
versionName "1.0.2"
versionCode 9
versionName "1.0.8"
ndk {
//选择要添加的对应 cpu 类型的 .so 库。
@@ -70,13 +70,22 @@ android {
//签名
signingConfigs {
U807 {
U807 {
storeFile file("src/doc/AllwinnerU807.jks")
storePassword "123456"
keyAlias "u807"
keyPassword "123456"
v2SigningEnabled false
}
iPlay50SE {
storeFile file("src/doc/iPlay50SE.keystore")
storePassword "123456"
keyAlias "iplay50se"
keyPassword "123456"
v1SigningEnabled true
v2SigningEnabled true
}
}
buildTypes {
@@ -94,6 +103,20 @@ android {
signingConfig signingConfigs.U807
}
iPlay50SEDebug.initWith(debug)
iPlay50SEDebug {
buildConfigField "String", "platform", '"iPaly50SE"'
versionNameSuffix "-debug"
debuggable true
signingConfig signingConfigs.iPlay50SE
}
iPlay50SERelease.initWith(release)
iPlay50SERelease {
buildConfigField "String", "platform", '"iPaly50SE"'
signingConfig signingConfigs.iPlay50SE
}
debug {
buildConfigField "String", "platform", '"MTK"'
debuggable true
@@ -286,12 +309,22 @@ dependencies {
androidTestImplementation "androidx.annotation:annotation:${ANDROID_X_VERSION}"
//OkHttp
implementation 'com.squareup.okhttp3:okhttp:4.9.2'
//RxJava和Retrofit
implementation 'io.reactivex.rxjava2:rxjava:2.2.21'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
//RxJava
implementation 'io.reactivex.rxjava3:rxjava:3.0.0'
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
//Retrofit
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:adapter-rxjava3:2.9.0'
// gson converter
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.9.0'
// 标准转换器,去掉 Retrofit以Mutipart上传参数时String参数会多一对双引号
implementation 'com.squareup.retrofit2:converter-scalars:2.3.0'
//生命周期管理
implementation 'com.trello.rxlifecycle4:rxlifecycle:4.0.2'
implementation 'com.trello.rxlifecycle4:rxlifecycle-android:4.0.2'
implementation 'com.trello.rxlifecycle4:rxlifecycle-components:4.0.2'
implementation 'com.trello.rxlifecycle4:rxlifecycle-components-preference:4.0.2'
implementation 'com.trello.rxlifecycle4:rxlifecycle-android-lifecycle:4.0.2'
//gson
implementation 'com.google.code.gson:gson:2.9.0'
//磁盘缓存
@@ -305,6 +338,8 @@ dependencies {
annotationProcessor 'me.laoyuyu.aria:compiler:3.8.16'
//工具类
implementation 'com.blankj:utilcodex:1.31.0'
implementation 'com.tencent.bugly:crashreport:4.1.9.2'
implementation 'com.iqiyi.xcrash:xcrash-android-lib:3.0.0'
}
preBuild {