update dependency

pull/21/head
fengyuecanzhu 3 years ago
parent 8544fb2999
commit 85fac3f2d0
  1. 18
      app/build.gradle
  2. 8
      build.gradle

@ -92,7 +92,7 @@ android {
signingConfig signingConfigs.myConifg signingConfig signingConfigs.myConifg
} }
ndk { ndk {
abiFilters "armeabi-v7a", "arm64-v8a" abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
} }
} }
debug { debug {
@ -103,7 +103,7 @@ android {
} }
versionNameSuffix "-debug" versionNameSuffix "-debug"
ndk { ndk {
abiFilters "armeabi-v7a", "arm64-v8a" abiFilters "arm64-v8a"
} }
} }
android.applicationVariants.all { variant -> android.applicationVariants.all { variant ->
@ -157,7 +157,7 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1'
implementation 'androidx.appcompat:appcompat:1.3.1' implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
//anko //anko
def anko_version = '0.10.8' def anko_version = '0.10.8'
@ -165,11 +165,11 @@ dependencies {
implementation "org.jetbrains.anko:anko-sdk27-listeners:$anko_version" implementation "org.jetbrains.anko:anko-sdk27-listeners:$anko_version"
//Glide //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' implementation 'com.journeyapps:zxing-android-embedded:3.5.0'
@ -178,8 +178,8 @@ dependencies {
//JSoup //JSoup
implementation 'org.jsoup:jsoup:1.14.3' implementation 'org.jsoup:jsoup:1.14.3'
implementation 'cn.wanghaomiao:JsoupXpath:2.5.0' implementation 'cn.wanghaomiao:JsoupXpath:2.5.1'
implementation 'com.jayway.jsonpath:json-path:2.6.0' implementation 'com.jayway.jsonpath:json-path:2.7.0'
//SmartRefreshLayout //SmartRefreshLayout
implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.2' implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.2'
@ -197,7 +197,7 @@ dependencies {
// //
implementation 'net.ricecode:string-similarity:1.0.0' 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 //RxAndroid
implementation 'io.reactivex.rxjava2:rxjava:2.2.19' implementation 'io.reactivex.rxjava2:rxjava:2.2.19'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1' implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'

@ -14,7 +14,7 @@ buildscript {
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:4.1.3' classpath 'com.android.tools.build:gradle:4.1.3'
classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0' 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' classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -30,11 +30,7 @@ allprojects {
maven { url 'https://artifact.bytedance.com/repository/pangle'} maven { url 'https://artifact.bytedance.com/repository/pangle'}
mavenLocal() mavenLocal()
} }
/*gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}*/
} }
task clean(type: Delete) { task clean(type: Delete) {

Loading…
Cancel
Save