Skip to content

Commit

Permalink
Downgrade Rhino since it uses a class not available on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
Stypox committed Aug 25, 2022
1 parent 25f0ce7 commit fa25a72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion extractor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit fa25a72

Please sign in to comment.