version:
update:2021.03.29 fix:修改为mvp架构,顺序执行,优化连接的次数 add:
This commit is contained in:
@@ -28,30 +28,40 @@ android {
|
||||
|
||||
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
checkReleaseBuilds false
|
||||
}
|
||||
|
||||
dexOptions {
|
||||
jumboMode true
|
||||
}
|
||||
dataBinding {
|
||||
enabled = true
|
||||
|
||||
// dataBinding {
|
||||
// enabled = true
|
||||
// }
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
//多版本
|
||||
productFlavors {
|
||||
official {
|
||||
flavorDimensions "default"
|
||||
versionCode 1034
|
||||
versionName "2.0.3.4"// 正式jiaoguanyi.com 双数正式 单数测试
|
||||
versionCode 1035
|
||||
versionName "2.0.3.5"
|
||||
/*********************************极光推送************************************/
|
||||
manifestPlaceholders = [
|
||||
JPUSH_PKGNAME: "com.jiaoguanyi.appstore",
|
||||
JPUSH_APPKEY : "20f70bbeb78bad23eddd08d0", //JPush上注册的包名对应的appkey.
|
||||
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
||||
channel_value : "official",
|
||||
]
|
||||
signingConfig signingConfigs.debug
|
||||
/*********************************极光推送end************************************/
|
||||
buildConfigField "String", "ROOT_URL", '"https://partner.jiaoguanyi.com/api/"'
|
||||
buildConfigField "String", "ROOT_URL", '"http://partner.jiaoguanyi.com/api/"'
|
||||
buildConfigField "String", "WebsocketURL", '"ws://47.107.133.19:1234"'
|
||||
|
||||
}
|
||||
@@ -66,6 +76,7 @@ android {
|
||||
JPUSH_PKGNAME: "com.jiaoguanyi.appstore",
|
||||
JPUSH_APPKEY : "52d81643665bb2cadacf0e9e", //JPush上注册的包名对应的appkey.
|
||||
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
||||
channel_value : "beta"
|
||||
]
|
||||
signingConfig signingConfigs.debug
|
||||
/*********************************极光推送end************************************/
|
||||
@@ -84,22 +95,25 @@ android {
|
||||
JPUSH_PKGNAME: "com.jiaoguanyi.appstore",
|
||||
JPUSH_APPKEY : "a98c8a210687b4bb43c39c39", //JPush上注册的包名对应的appkey.
|
||||
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
||||
channel_value : "zhongyou"
|
||||
]
|
||||
signingConfig signingConfigs.debug
|
||||
/*********************************极光推送end************************************/
|
||||
buildConfigField "String", "ROOT_URL", '"https://jgy.jundunxueyuan.com/api/"'
|
||||
buildConfigField "String", "WebsocketURL", '"ws://39.98.59.202:2345"'
|
||||
}
|
||||
|
||||
newl {
|
||||
flavorDimensions "default"
|
||||
versionCode 166
|
||||
versionCode 167
|
||||
// versionCode 1031
|
||||
versionName "1.2.6"
|
||||
versionName "1.2.7"
|
||||
/*********************************极光推送************************************/
|
||||
manifestPlaceholders = [
|
||||
JPUSH_PKGNAME: "com.jiaoguanyi.appstore",
|
||||
JPUSH_APPKEY : "52d81643665bb2cadacf0e9e", //JPush上注册的包名对应的appkey.
|
||||
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
||||
channel_value : "newl"
|
||||
]
|
||||
signingConfig signingConfigs.debug
|
||||
/*********************************极光推送end************************************/
|
||||
@@ -121,6 +135,7 @@ android {
|
||||
keyPassword "123456"
|
||||
v2SigningEnabled false
|
||||
}
|
||||
|
||||
release {// 签名文件
|
||||
storeFile file("src/main/doc/xueshibaoos.jks")
|
||||
storePassword "123456"
|
||||
@@ -186,6 +201,8 @@ dependencies {
|
||||
testImplementation 'junit:junit:4.13.1'
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
||||
implementation 'com.jakewharton:butterknife:10.1.0'
|
||||
annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0'
|
||||
implementation 'uk.co.chrisjenx:calligraphy:2.3.0'
|
||||
implementation 'com.alibaba:fastjson:1.2.70'
|
||||
implementation 'com.lzy.net:okgo:2.1.4'
|
||||
@@ -200,14 +217,11 @@ dependencies {
|
||||
implementation 'com.google.code.gson:gson:2.8.6'
|
||||
implementation 'cn.jiguang.sdk:jpush:3.8.6' // 此处以JPush 3.5.6 版本为例。
|
||||
implementation 'cn.jiguang.sdk:jcore:2.6.0' // 此处以JCore 2.2.8 版本为例。
|
||||
// implementation "com.github.yjfnypeu:UpdatePlugin:3.0.1"
|
||||
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.github.tianma8023:NetDetector:v0.2.0'
|
||||
implementation "org.java-websocket:Java-WebSocket:1.4.1"
|
||||
implementation 'com.google.zxing:core:3.3.0'
|
||||
implementation 'com.hjq:xxpermissions:6.0'
|
||||
implementation 'com.amap.api:location:5.1.0'
|
||||
//高德地图定位
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user