From 48b1d3fff877a82e7c991097c8563797b71409de Mon Sep 17 00:00:00 2001 From: TobiGr Date: Fri, 16 Oct 2020 13:27:04 +0200 Subject: [PATCH] Add info to build.gradle and settings.gradle on how to use a local NewPipe extractor version. --- app/build.gradle | 4 +++- settings.gradle | 12 +++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index e054c4662..e8ff1a253 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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" diff --git a/settings.gradle b/settings.gradle index 9d495b34f..b564e3700 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1,11 @@ -include ':app' \ No newline at end of file +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') +// } +//}