version:1.3.4
update: fix: add:开发人员选项管控推送
This commit is contained in:
@@ -15,10 +15,10 @@ android {
|
||||
minSdkVersion 24
|
||||
targetSdkVersion 29
|
||||
|
||||
// versionCode 105
|
||||
// versionName "3.1.0"//测试jiaoguanyi.cn
|
||||
// versionCode 1008
|
||||
// versionName "2.0.1.8"// 正式jiaoguanyi.com 双数正式 单数测试
|
||||
//versionCode 105
|
||||
//versionName "3.1.0"//测试jiaoguanyi.cn
|
||||
//versionCode 1008
|
||||
//versionName "2.0.1.8"// 正式jiaoguanyi.com 双数正式 单数测试
|
||||
multiDexEnabled true
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
@@ -37,9 +37,9 @@ android {
|
||||
jumboMode true
|
||||
}
|
||||
|
||||
// dataBinding {
|
||||
// enabled = true
|
||||
// }
|
||||
//dataBinding {
|
||||
//enabled = true
|
||||
//}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
@@ -50,8 +50,8 @@ android {
|
||||
productFlavors {
|
||||
official {
|
||||
flavorDimensions "default"
|
||||
versionCode 1037
|
||||
versionName "2.0.3.7"
|
||||
versionCode 1038
|
||||
versionName "2.0.3.8"
|
||||
/*********************************极光推送************************************/
|
||||
manifestPlaceholders = [
|
||||
JPUSH_PKGNAME: "com.jiaoguanyi.appstore",
|
||||
@@ -69,7 +69,7 @@ android {
|
||||
beta {
|
||||
flavorDimensions "default"
|
||||
versionCode 109
|
||||
// versionCode 160//出厂版本太高
|
||||
//versionCode 160//出厂版本太高
|
||||
versionName "3.1.4"//测试jiaoguanyi.cn
|
||||
/*********************************极光推送************************************/
|
||||
manifestPlaceholders = [
|
||||
@@ -106,7 +106,7 @@ android {
|
||||
newly {
|
||||
flavorDimensions "default"
|
||||
versionCode 174
|
||||
// versionCode 1037
|
||||
//versionCode 1037
|
||||
versionName "1.3.4"
|
||||
/*********************************极光推送************************************/
|
||||
manifestPlaceholders = [
|
||||
@@ -136,7 +136,7 @@ android {
|
||||
v2SigningEnabled false
|
||||
}
|
||||
|
||||
release {// 签名文件
|
||||
release {
|
||||
storeFile file("src/main/doc/xueshibaoos.jks")
|
||||
storePassword "123456"
|
||||
keyAlias "xueshibaoos"
|
||||
@@ -147,10 +147,12 @@ android {
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
// 显示Log
|
||||
buildConfigField "boolean", "LOG_DEBUG", "true"
|
||||
versionNameSuffix "-debug"
|
||||
// 不显示Log
|
||||
//buildConfigField "boolean", "LOG_DEBUG", "false"
|
||||
//
|
||||
//versionNameSuffix "-debug"
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
//Zipalign优化
|
||||
zipAlignEnabled true
|
||||
signingConfig signingConfigs.debug
|
||||
@@ -165,17 +167,15 @@ android {
|
||||
}
|
||||
}
|
||||
release {
|
||||
// 不显示Log
|
||||
buildConfigField "boolean", "LOG_DEBUG", "false"
|
||||
//混淆
|
||||
minifyEnabled false
|
||||
//Zipalign优化
|
||||
zipAlignEnabled true
|
||||
//前一部分代表系统默认的android程序的混淆文件,该文件已经包含了基本的混淆声明,后一个文件是自己的定义混淆文件
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
//Zipalign优化
|
||||
zipAlignEnabled true
|
||||
//签名
|
||||
signingConfig signingConfigs.release
|
||||
// 将release版本的包名重命名,加上版本及日期
|
||||
//将release版本的包名重命名,加上版本及日期
|
||||
applicationVariants.all { variant ->
|
||||
variant.outputs.each { output ->
|
||||
def outputFile = ""
|
||||
@@ -190,7 +190,7 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||||
//implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||||
compileOnly files('src/main/libs/classes.jar')
|
||||
|
||||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||||
@@ -212,8 +212,8 @@ dependencies {
|
||||
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
|
||||
implementation 'io.reactivex.rxjava2:rxjava:2.2.5'
|
||||
implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
|
||||
// implementation "com.uber.autodispose:autodispose:1.3.0"
|
||||
// implementation "com.uber.autodispose:autodispose-android-archcomponents:1.3.0"
|
||||
//implementation "com.uber.autodispose:autodispose:1.3.0"
|
||||
//implementation "com.uber.autodispose:autodispose-android-archcomponents:1.3.0"
|
||||
implementation 'com.google.code.gson:gson:2.8.6'
|
||||
implementation 'com.google.zxing:core:3.3.0'
|
||||
implementation 'cn.jiguang.sdk:jpush:3.8.6' // 此处以JPush 3.5.6 版本为例。
|
||||
@@ -221,14 +221,14 @@ dependencies {
|
||||
implementation 'com.alibaba:fastjson:1.2.70'
|
||||
implementation 'com.lzy.net:okgo:2.1.4'
|
||||
implementation 'com.lzy.net:okrx:0.1.2'
|
||||
// implementation 'com.lzy.net:okserver:1.1.3'
|
||||
//implementation 'com.lzy.net:okserver:1.1.3'
|
||||
implementation 'com.blankj:utilcode:1.23.7'
|
||||
implementation 'com.arialyy.aria:core:3.8.15'
|
||||
annotationProcessor 'com.arialyy.aria:compiler:3.8.15'
|
||||
implementation 'com.amap.api:location:5.1.0'
|
||||
//高德地图定位
|
||||
implementation 'org.zeroturnaround:zt-zip:1.13'
|
||||
implementation 'com.amap.api:location:5.1.0'
|
||||
//压缩文件解压
|
||||
implementation 'org.zeroturnaround:zt-zip:1.13'
|
||||
}
|
||||
|
||||
preBuild {
|
||||
|
||||
Reference in New Issue
Block a user