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'