diff --git a/app/build.gradle b/app/build.gradle index 6fffeb722..d359250e0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -122,6 +122,10 @@ dependencies { implementation 'androidx.multidex:multidex:2.0.1' //kotlin implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" + //协程 + def coroutines_version = '1.5.0' + implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version" + implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version" //androidX implementation 'androidx.appcompat:appcompat:1.3.0' @@ -164,16 +168,11 @@ dependencies { //liveEventBus implementation 'io.github.jeremyliao:live-event-bus-x:1.8.0' - //协程 - def coroutines_version = '1.4.3' - implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version" - implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version" - //规则相关 implementation 'org.jsoup:jsoup:1.13.1' //noinspection GradleDependency implementation 'cn.wanghaomiao:JsoupXpath:2.3.2' - implementation 'com.jayway.jsonpath:json-path:2.5.0' + implementation 'com.jayway.jsonpath:json-path:2.6.0' //JS rhino implementation 'com.github.gedoor:rhino-android:1.5' @@ -189,7 +188,7 @@ dependencies { implementation 'org.nanohttpd:nanohttpd-websocket:2.3.1' //二维码 - implementation 'com.king.zxing:zxing-lite:2.0.3' + implementation 'com.github.jenly1314:zxing-lite:2.1.0' //颜色选择 implementation 'com.jaredrummler:colorpicker:1.1.0' @@ -198,12 +197,13 @@ dependencies { implementation 'org.apache.commons:commons-text:1.9' //MarkDown - implementation 'io.noties.markwon:core:4.6.0' - implementation 'io.noties.markwon:image-glide:4.6.0' - implementation 'io.noties.markwon:ext-tables:4.6.0' - implementation 'io.noties.markwon:html:4.6.0' + def markwonVersion = "4.6.2" + implementation "io.noties.markwon:core:$markwonVersion" + implementation "io.noties.markwon:image-glide:$markwonVersion" + implementation "io.noties.markwon:ext-tables:$markwonVersion" + implementation "io.noties.markwon:html:$markwonVersion" //转换繁体 - implementation 'com.github.liuyueyi.quick-chinese-transfer:quick-transfer-core:0.2.0' + implementation 'com.github.liuyueyi.quick-chinese-transfer:quick-transfer-core:0.2.1' } \ No newline at end of file