From 8036c831a5d81abb0707623471887226a5b064fa Mon Sep 17 00:00:00 2001 From: jimbo1qaz Date: Sat, 17 Aug 2019 19:20:00 -0700 Subject: [PATCH] Add missing dependencies inherited from NewPipeExtractor into NewPipe - NewPipe uses nanojson and jsoup, despite not declaring them. - NewPipe depends on NewPipeExtractor, which depends on nanojson and jsoup. - Gradle lets NewPipe use nanojson and jsoup, but this breaks when I use: includeBuild('../NewPipeExtractor') { dependencySubstitution { substitute module('com.github.TeamNewPipe:NewPipeExtractor') with project(':extractor') } } --- app/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index c70d583b2..942cb58e6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -70,6 +70,10 @@ dependencies { implementation "com.android.support:cardview-v7:${supportLibVersion}" implementation 'com.android.support.constraint:constraint-layout:1.1.3' + // Originally in NewPipeExtractor + implementation 'com.grack:nanojson:1.1' + implementation 'org.jsoup:jsoup:1.9.2' + implementation 'ch.acra:acra:4.9.2' //4.11 implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'