Merge pull request #19 from B0pol/howtorun
Add how to run changes in app: Use local version of NPE
This commit is contained in:
commit
f8c2c3f000
|
@ -22,7 +22,24 @@ sometimes have to adjust the udev rules in order to
|
||||||
|
|
||||||
### Run Your Changes on the Extractor
|
### Run Your Changes on the Extractor
|
||||||
|
|
||||||
In order to use the extractor in our app, we use [JitPack](https://jitpack.io). This is a build service that can build
|
There are several ways to test your extractor version in NewPipe. We will show you the most convenient ones:
|
||||||
|
|
||||||
|
#### Using local folder
|
||||||
|
|
||||||
|
In NewPipe app root folder, edit [settings.gradle](https://github.com/TeamNewPipe/NewPipe/blob/dev/settings.gradle) file and add this:
|
||||||
|
```
|
||||||
|
includeBuild('../NewPipeExtractor') {
|
||||||
|
dependencySubstitution {
|
||||||
|
substitute module('com.github.TeamNewPipe:NewPipeExtractor') with project(':extractor')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
`includeBuild` should have the relative path as argument. `../NewPipeExtractor` means one folder up in hierarchy,
|
||||||
|
and the folder is exactly named `NewPipeExtractor`. If that's not the case, edit this part.
|
||||||
|
|
||||||
|
#### Using JitPack
|
||||||
|
|
||||||
|
Another way is to use [JitPack](https://jitpack.io). This is a build service that can build
|
||||||
maven *.jar packages for Android and Java based on GitHub or GitLab repositories.
|
maven *.jar packages for Android and Java based on GitHub or GitLab repositories.
|
||||||
|
|
||||||
To use the extractor through JitPack, you need to push it to your online repository of
|
To use the extractor through JitPack, you need to push it to your online repository of
|
||||||
|
|
Loading…
Reference in New Issue