diff --git a/extractor/build.gradle b/extractor/build.gradle index 501ed0c6..92d6908b 100644 --- a/extractor/build.gradle +++ b/extractor/build.gradle @@ -27,10 +27,13 @@ dependencies { implementation "com.github.TeamNewPipe:nanojson:$nanojsonVersion" implementation 'org.jsoup:jsoup:1.15.3' - implementation 'org.mozilla:rhino:1.7.14' implementation "com.github.spotbugs:spotbugs-annotations:$spotbugsVersion" implementation 'org.nibor.autolink:autolink:0.10.0' + // do not upgrade to 1.7.14, since in 1.7.14 Rhino uses the `SourceVersion` class, which is not + // available on Android (even when using desugaring), and `NoClassDefFoundError` is thrown + implementation 'org.mozilla:rhino:1.7.13' + checkstyle "com.puppycrawl.tools:checkstyle:$checkstyleVersion" testImplementation platform("org.junit:junit-bom:$junitVersion")