From 85fac3f2d0796001dddcd0d9354dcb61a9f517b0 Mon Sep 17 00:00:00 2001 From: fengyuecanzhu <1021300691@qq.com> Date: Sun, 24 Apr 2022 19:38:48 +0800 Subject: [PATCH] update dependency --- app/build.gradle | 18 +++++++++--------- build.gradle | 8 ++------ 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index e91ffb2..6db74d0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -92,7 +92,7 @@ android { signingConfig signingConfigs.myConifg } ndk { - abiFilters "armeabi-v7a", "arm64-v8a" + abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64" } } debug { @@ -103,7 +103,7 @@ android { } versionNameSuffix "-debug" ndk { - abiFilters "armeabi-v7a", "arm64-v8a" + abiFilters "arm64-v8a" } } android.applicationVariants.all { variant -> @@ -157,7 +157,7 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1' implementation 'androidx.appcompat:appcompat:1.3.1' - implementation 'androidx.constraintlayout:constraintlayout:2.1.1' + implementation 'androidx.constraintlayout:constraintlayout:2.1.3' //anko def anko_version = '0.10.8' @@ -165,11 +165,11 @@ dependencies { implementation "org.jetbrains.anko:anko-sdk27-listeners:$anko_version" //Glide - implementation 'com.github.bumptech.glide:glide:4.12.0' + implementation 'com.github.bumptech.glide:glide:4.13.1' - implementation 'com.squareup.okhttp3:okhttp:4.9.1' + implementation 'com.squareup.okhttp3:okhttp:4.9.3' - implementation 'com.google.code.gson:gson:2.8.9' + implementation 'com.google.code.gson:gson:2.9.0' implementation 'com.journeyapps:zxing-android-embedded:3.5.0' @@ -178,8 +178,8 @@ dependencies { //JSoup implementation 'org.jsoup:jsoup:1.14.3' - implementation 'cn.wanghaomiao:JsoupXpath:2.5.0' - implementation 'com.jayway.jsonpath:json-path:2.6.0' + implementation 'cn.wanghaomiao:JsoupXpath:2.5.1' + implementation 'com.jayway.jsonpath:json-path:2.7.0' //SmartRefreshLayout implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.2' @@ -197,7 +197,7 @@ dependencies { //字符串比较 implementation 'net.ricecode:string-similarity:1.0.0' - implementation 'com.jayway.jsonpath:json-path:2.6.0' + implementation 'com.jayway.jsonpath:json-path:2.7.0' //RxAndroid implementation 'io.reactivex.rxjava2:rxjava:2.2.19' implementation 'io.reactivex.rxjava2:rxandroid:2.1.1' diff --git a/build.gradle b/build.gradle index 1e61446..e62f20d 100644 --- a/build.gradle +++ b/build.gradle @@ -14,7 +14,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:4.1.3' classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10" + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -30,11 +30,7 @@ allprojects { maven { url 'https://artifact.bytedance.com/repository/pangle'} mavenLocal() } - /*gradle.projectsEvaluated { - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" - } - }*/ + } task clean(type: Delete) {