Skip to content

Commit fa25a72

Browse files
committed
Downgrade Rhino since it uses a class not available on Android
Reverts #774, see TeamNewPipe/NewPipe#8876
1 parent 25f0ce7 commit fa25a72

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

extractor/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,13 @@ dependencies {
2727

2828
implementation "com.github.TeamNewPipe:nanojson:$nanojsonVersion"
2929
implementation 'org.jsoup:jsoup:1.15.3'
30-
implementation 'org.mozilla:rhino:1.7.14'
3130
implementation "com.github.spotbugs:spotbugs-annotations:$spotbugsVersion"
3231
implementation 'org.nibor.autolink:autolink:0.10.0'
3332

33+
// do not upgrade to 1.7.14, since in 1.7.14 Rhino uses the `SourceVersion` class, which is not
34+
// available on Android (even when using desugaring), and `NoClassDefFoundError` is thrown
35+
implementation 'org.mozilla:rhino:1.7.13'
36+
3437
checkstyle "com.puppycrawl.tools:checkstyle:$checkstyleVersion"
3538

3639
testImplementation platform("org.junit:junit-bom:$junitVersion")

0 commit comments

Comments
 (0)