Skip to content

Commit

Permalink
Add info to build.gradle and settings.gradle on how to use a local
Browse files Browse the repository at this point in the history
NewPipe extractor version.
  • Loading branch information
TobiGr committed Oct 16, 2020
1 parent 6c49209 commit 48b1d3f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,11 @@ dependencies {
exclude module: 'support-annotations'
}

// NewPipe dependencies
// You can use a local version by uncommenting a few lines in settings.gradle
implementation 'com.github.TeamNewPipe:NewPipeExtractor:2463884aa8b696df5812f7feff553008bbd2f888'

implementation "com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751"

implementation "org.jsoup:jsoup:1.13.1"

implementation "com.squareup.okhttp3:okhttp:3.12.12"
Expand Down
12 changes: 11 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
include ':app'
include ':app'

// Use a local copy of NewPipe Extractor by uncommenting the lines below.
// We assume, that NewPipe and NewPipe Extractor have the same parent directory.
// If this is not the case, please change the path in includeBuild().

//includeBuild('../NewPipeExtractor') {
// dependencySubstitution {
// substitute module('com.github.TeamNewPipe:NewPipeExtractor') with project(':extractor')
// }
//}

0 comments on commit 48b1d3f

Please sign in to comment.