From d3983a33f5c9333349e59a908650ed723982e354 Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 20 Jul 2021 09:27:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86xpath=E9=9B=86=E6=88=90=E5=88=B0?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- JsoupXpath/build.gradle | 7 ++++++- app/build.gradle | 5 +++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/JsoupXpath/build.gradle b/JsoupXpath/build.gradle index 3d8e01066..f798aa3bf 100644 --- a/JsoupXpath/build.gradle +++ b/JsoupXpath/build.gradle @@ -31,8 +31,13 @@ android { } dependencies { - api 'org.jsoup:jsoup:1.14.1' + implementation 'org.jsoup:jsoup:1.14.1' implementation 'org.antlr:antlr4-runtime:4.7.2' implementation 'org.apache.commons:commons-lang3:3.11' implementation 'org.slf4j:slf4j-api:1.7.30' + testImplementation('ch.qos.logback:logback-core:1.2.3') + testImplementation('org.powermock:powermock-module-junit4:1.6.3') + testImplementation('org.powermock:powermock-api-mockito:1.6.3') + testImplementation('com.tngtech.java:junit-dataprovider:1.10.2') + testImplementation('commons-io:commons-io:2.6') } \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index 182d3bd01..fb4a759e0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -122,8 +122,6 @@ kapt { } dependencies { - implementation project(path: ':epublib') - implementation project(path: ':JsoupXpath') coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar']) testImplementation 'junit:junit:4.13.2' @@ -178,7 +176,10 @@ dependencies { implementation 'io.github.jeremyliao:live-event-bus-x:1.8.0' //规则相关 + implementation 'org.jsoup:jsoup:1.14.1' implementation 'com.jayway.jsonpath:json-path:2.6.0' + implementation project(path: ':JsoupXpath') + implementation project(path: ':epublib') //JS rhino implementation 'com.github.gedoor:rhino-android:1.6'