|
|
@@ -13,7 +13,7 @@ android {
|
|
|
versionCode VERSION_CODE as int
|
|
|
versionName VERSION_NAME
|
|
|
multiDexEnabled true
|
|
|
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
+ testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
|
|
ndk {
|
|
|
abiFilters "armeabi-v7a","arm64-v8a"//, 'x86'//, 'armeabi-v7a', 'x86_64', 'arm64-v8a'
|
|
|
}
|
|
|
@@ -166,32 +166,50 @@ configurations.all {
|
|
|
}
|
|
|
|
|
|
dependencies {
|
|
|
+
|
|
|
+ // QQ 互联SDK,用于QQ分享、登录
|
|
|
+// implementation files('libs/open_sdk_3.5.14.3_rc26220c_lite.jar')
|
|
|
+ implementation files('libs/open_sdk_r5923_lite.jar')
|
|
|
+
|
|
|
+ def miniSdkVersion = "1.57.30"
|
|
|
+ implementation ("com.tencent.qqmini:minigame:${miniSdkVersion}"){
|
|
|
+ exclude group: 'com.squareup.okhttp3', module: 'okhttp'
|
|
|
+ }
|
|
|
+ implementation ("com.tencent.qqmini:minigame_external:${miniSdkVersion}"){
|
|
|
+ exclude group: 'com.squareup.okhttp3', module: 'okhttp'
|
|
|
+ }
|
|
|
+ // 如果不使用sdk的互联模块,可以不依赖
|
|
|
+ implementation ("com.tencent.qqmini:minigame_open_sdk_all:${miniSdkVersion}"){
|
|
|
+ exclude group: 'com.squareup.okhttp3', module: 'okhttp'
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
//noinspection GradleCompatible
|
|
|
- implementation "com.android.support:support-v4:$supportLibVersion"
|
|
|
+ implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
|
|
|
//noinspection GradleCompatible
|
|
|
- implementation "com.android.support:cardview-v7:$supportLibVersion"
|
|
|
- implementation("com.android.support:design:$supportLibVersion") {
|
|
|
- exclude group: 'com.android.support', module: 'support-annotations'
|
|
|
- exclude group: 'com.android.support', module: 'support-compat'
|
|
|
- exclude group: 'com.android.support', module: 'support-core-ui'
|
|
|
- exclude group: 'com.android.support', module: 'support-core-utils'
|
|
|
- exclude group: 'com.android.support', module: 'support-fragment'
|
|
|
- exclude group: 'com.android.support', module: 'transition'
|
|
|
- exclude group: 'com.android.support', module: 'appcompat-v7'
|
|
|
- exclude group: 'com.android.support', module: 'cardview-v7'
|
|
|
- exclude group: 'com.android.support', module: 'recyclerview-v7'
|
|
|
- }
|
|
|
- implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
|
|
+ implementation 'androidx.cardview:cardview:1.0.0'
|
|
|
+ implementation('com.google.android.material:material:1.0.0') {
|
|
|
+// exclude group: 'com.android.support', module: 'support-annotations'
|
|
|
+// exclude group: 'com.android.support', module: 'support-compat'
|
|
|
+// exclude group: 'com.android.support', module: 'support-core-ui'
|
|
|
+// exclude group: 'com.android.support', module: 'support-core-utils'
|
|
|
+// exclude group: 'com.android.support', module: 'support-fragment'
|
|
|
+// exclude group: 'com.android.support', module: 'transition'
|
|
|
+// exclude group: 'com.android.support', module: 'appcompat-v7'
|
|
|
+// exclude group: 'com.android.support', module: 'cardview-v7'
|
|
|
+// exclude group: 'com.android.support', module: 'recyclerview-v7'
|
|
|
+ }
|
|
|
+ implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
|
|
implementation 'com.google.code.gson:gson:2.8.2'
|
|
|
|
|
|
// implementation 'com.shark:screencapture:1.0.0'
|
|
|
implementation('com.jcodecraeer:xrecyclerview:1.5.9') {
|
|
|
- exclude group: 'com.android.support', module: 'design'
|
|
|
- exclude group: 'com.android.support', module: 'recyclerview'
|
|
|
- exclude group: 'com.android.support', module: 'appcompat'
|
|
|
+// exclude group: 'com.android.support', module: 'design'
|
|
|
+// exclude group: 'com.android.support', module: 'recyclerview'
|
|
|
+// exclude group: 'com.android.support', module: 'appcompat'
|
|
|
}
|
|
|
implementation 'com.squareup.wire:wire-runtime:3.6.0'
|
|
|
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
|
|
|
@@ -219,25 +237,28 @@ dependencies {
|
|
|
|
|
|
// implementation 'com.mylhyl:acp:1.1.7'
|
|
|
implementation('cn.yipianfengye.android:zxing-library:2.2') {
|
|
|
- exclude group: 'com.android.support', module: 'appcompat-v7'
|
|
|
- exclude group: 'com.android.support', module: 'support-v4'
|
|
|
+// exclude group: 'com.android.support', module: 'appcompat-v7'
|
|
|
+// exclude group: 'com.android.support', module: 'support-v4'
|
|
|
}
|
|
|
|
|
|
implementation(name: 'newbie-guide-2.4.0.1', ext: 'aar')
|
|
|
|
|
|
- debugImplementation 'com.android.support:multidex:1.0.1'
|
|
|
+ debugImplementation 'androidx.multidex:multidex:2.0.0'
|
|
|
|
|
|
//不要修改这里,相信我
|
|
|
- releaseImplementation 'com.android.support:multidex:1.0.3'
|
|
|
+ releaseImplementation 'androidx.multidex:multidex:2.0.0'
|
|
|
implementation(name: 'com.kfzs.safe-202403062150', ext: 'aar')
|
|
|
|
|
|
//butterknife
|
|
|
- implementation('com.jakewharton:butterknife:8.8.1') {
|
|
|
- exclude group: 'com.android.support', module: 'support-annotations'
|
|
|
- exclude group: 'com.android.support', module: 'support-compat'
|
|
|
-// exclude group: 'com.jakewharton', module: 'butterknife-annotations'
|
|
|
- }
|
|
|
- annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
|
|
|
+// implementation('com.jakewharton:butterknife:8.8.1') {
|
|
|
+////// exclude group: 'com.android.support', module: 'support-annotations'
|
|
|
+////// exclude group: 'com.android.support', module: 'support-compat'
|
|
|
+////// exclude group: 'com.jakewharton', module: 'butterknife-annotations'
|
|
|
+//// }
|
|
|
+//// annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
|
|
|
+
|
|
|
+ implementation 'com.jakewharton:butterknife:10.0.0'
|
|
|
+ annotationProcessor 'com.jakewharton:butterknife-compiler:10.0.0'
|
|
|
|
|
|
//dagger2
|
|
|
|
|
|
@@ -293,9 +314,9 @@ dependencies {
|
|
|
|
|
|
//获取动态权限三方库
|
|
|
implementation('pub.devrel:easypermissions:1.2.0') {
|
|
|
- exclude group: 'com.android.support', module: 'appcompat-v7'
|
|
|
- exclude group: 'com.android.support', module: 'support-compat'
|
|
|
- exclude group: 'com.android.support', module: 'support-fragment'
|
|
|
+// exclude group: 'com.android.support', module: 'appcompat-v7'
|
|
|
+// exclude group: 'com.android.support', module: 'support-compat'
|
|
|
+// exclude group: 'com.android.support', module: 'support-fragment'
|
|
|
}
|
|
|
|
|
|
// implementation 'net.danlew:android.joda:2.9.3'
|
|
|
@@ -316,7 +337,7 @@ dependencies {
|
|
|
// implementation 'com.flipboard:bottomsheet-core:1.5.3'
|
|
|
|
|
|
// implementation 'com.flipboard:bottomsheet-commons:1.5.3'
|
|
|
- implementation files('libs/open_sdk_r5923_lite.jar')
|
|
|
+// implementation files('libs/open_sdk_r5923_lite.jar')
|
|
|
|
|
|
// implementation files('libs/wechat-sdk-android-with-mta-1.1.6.jar')
|
|
|
implementation files('libs/umeng_social_tool.jar')
|
|
|
@@ -329,12 +350,12 @@ dependencies {
|
|
|
implementation('com.zhy:okhttputils:2.6.2') {
|
|
|
exclude group: 'com.squareup.okhttp3', module: 'okhttp'
|
|
|
}
|
|
|
-
|
|
|
- implementation "com.android.support:support-annotations:$supportLibVersion"
|
|
|
- implementation("com.android.support:recyclerview-v7:$supportLibVersion") {
|
|
|
- exclude group: 'com.android.support', module: 'support-annotations'
|
|
|
- exclude group: 'com.android.support', module: 'support-compat'
|
|
|
- exclude group: 'com.android.support', module: 'support-core-ui'
|
|
|
+// implementation 'com.squareup.okhttp3:okhttp:3.11.0'
|
|
|
+ implementation 'androidx.annotation:annotation:1.0.0'
|
|
|
+ implementation('androidx.recyclerview:recyclerview:1.0.0') {
|
|
|
+// exclude group: 'com.android.support', module: 'support-annotations'
|
|
|
+// exclude group: 'com.android.support', module: 'support-compat'
|
|
|
+// exclude group: 'com.android.support', module: 'support-core-ui'
|
|
|
}
|
|
|
|
|
|
// implementation('com.github.ithedan:TextViewDrawable:v1.0') {
|
|
|
@@ -346,7 +367,7 @@ dependencies {
|
|
|
// implementation 'me.iwf.photopicker:PhotoPicker:0.9.12@aar'
|
|
|
implementation(name: 'PhotoPicker-release-20200506', ext: 'aar')
|
|
|
implementation('com.github.bumptech.glide:glide:4.9.0') {
|
|
|
- exclude group: 'com.android.support', module: 'support-fragment'
|
|
|
+// exclude group: 'com.android.support', module: 'support-fragment'
|
|
|
// exclude group: 'com.github.bumptech.glide', module: 'gifdecoder'
|
|
|
// exclude group: 'com.github.bumptech.glide', module: 'disklrucache'
|
|
|
// exclude group: 'com.github.bumptech.glide', module: 'annotations'
|
|
|
@@ -358,7 +379,7 @@ dependencies {
|
|
|
// implementation 'com.google.zxing:core:3.3.0'
|
|
|
implementation project(':ucrop')
|
|
|
implementation('com.sunfusheng:marqueeview:1.3.3') {
|
|
|
- exclude group: 'com.android.support', module: 'appcompat-v7'
|
|
|
+// exclude group: 'com.android.support', module: 'appcompat-v7'
|
|
|
}
|
|
|
|
|
|
//极光
|
|
|
@@ -384,8 +405,8 @@ dependencies {
|
|
|
// implementation(name: 'compresshelper-release', ext: 'aar')
|
|
|
implementation files('libs/compresshelper-release.jar')
|
|
|
implementation('com.haibin:calendarview:3.4.8') {
|
|
|
- exclude group: 'com.android.support', module: 'appcompat-v7'
|
|
|
- exclude group: 'com.android.support', module: 'recyclerview-v7'
|
|
|
+// exclude group: 'com.android.support', module: 'appcompat-v7'
|
|
|
+// exclude group: 'com.android.support', module: 'recyclerview-v7'
|
|
|
}
|
|
|
implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-14'
|
|
|
implementation 'org.greenrobot:greendao:3.2.2'
|
|
|
@@ -403,7 +424,7 @@ dependencies {
|
|
|
// provide okhttp to connect to backend
|
|
|
implementation 'com.liulishuo.okdownload:okhttp:1.0.5'
|
|
|
implementation('com.trello.rxlifecycle2:rxlifecycle-components:2.2.2') {
|
|
|
- exclude group: 'com.android.support', module: 'appcompat-v7'
|
|
|
+// exclude group: 'com.android.support', module: 'appcompat-v7'
|
|
|
// com.trello.rxlifecycle2', module: 'rxlifecycle-android
|
|
|
exclude group: 'io.reactivex.rxjava2', module: 'rxjava'
|
|
|
}
|
|
|
@@ -416,7 +437,7 @@ dependencies {
|
|
|
implementation(name: 'YoumiSdk_v8.3.0_2018-09-20', ext: 'aar')
|
|
|
implementation project(':WaterWaveProgress')
|
|
|
|
|
|
- implementation "com.android.support:exifinterface:$supportLibVersion"
|
|
|
+ implementation 'androidx.exifinterface:exifinterface:1.0.0'
|
|
|
implementation('com.qiniu:qiniu-android-sdk:7.3.13') {
|
|
|
exclude group: 'com.squareup.okhttp3', module: 'okhttp'
|
|
|
}
|