From 6a03350550877716ac1cb992b7b1bdc2d258d5c2 Mon Sep 17 00:00:00 2001 From: tongtongstudio Date: Tue, 16 Mar 2021 16:34:24 +0800 Subject: [PATCH] =?UTF-8?q?version:=20update:2021.03.16=20fix:=E5=87=8F?= =?UTF-8?q?=E5=B0=91=E4=BE=9D=E8=B5=96=20add:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 38 ++++---------------------------------- 1 file changed, 4 insertions(+), 34 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index bcd9ff0..530f33e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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' - //高德地图地位 + //高德地图定位 }