version:
update:2021.03.16 fix:减少依赖 add:
This commit is contained in:
@@ -34,6 +34,9 @@ android {
|
||||
dexOptions {
|
||||
jumboMode true
|
||||
}
|
||||
dataBinding {
|
||||
enabled = true
|
||||
}
|
||||
//多版本
|
||||
productFlavors {
|
||||
official {
|
||||
@@ -107,7 +110,6 @@ android {
|
||||
sourceSets {
|
||||
beta.res.srcDirs = ['src/beta/res']
|
||||
newl.res.srcDirs = ['src/beta/res']
|
||||
|
||||
}
|
||||
|
||||
//签名
|
||||
@@ -181,36 +183,14 @@ dependencies {
|
||||
implementation 'androidx.multidex:multidex:2.0.1'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
||||
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
|
||||
|
||||
testImplementation 'junit:junit:4.13.1'
|
||||
configurations.all {
|
||||
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
|
||||
def requested = details.requested
|
||||
if (requested.group == 'com.android.support') {
|
||||
if (!requested.name.startsWith("multidex")) {
|
||||
details.useVersion '27.1.1'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
||||
|
||||
implementation 'uk.co.chrisjenx:calligraphy:2.3.0'
|
||||
|
||||
// implementation 'me.grantland:autofittextview:0.2.1'
|
||||
|
||||
// implementation 'com.github.bumptech.glide:glide:4.0.0'
|
||||
// annotationProcessor 'com.github.bumptech.glide:compiler:4.0.0'
|
||||
|
||||
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 'de.greenrobot:eventbus:2.4.1'
|
||||
|
||||
implementation 'com.squareup.okhttp3:okhttp:4.6.0'
|
||||
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
|
||||
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
|
||||
@@ -218,26 +198,16 @@ dependencies {
|
||||
implementation 'io.reactivex.rxjava2:rxjava:2.2.5'
|
||||
implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
|
||||
implementation 'com.google.code.gson:gson:2.8.6'
|
||||
|
||||
// implementation 'cn.jiguang:jpush:2.2.0'
|
||||
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