From 86a122be3e85e26a9c1ebed985e7ea22f6a82b00 Mon Sep 17 00:00:00 2001 From: Alok <73450969+alok8bb@users.noreply.github.com> Date: Sun, 18 Sep 2022 09:05:56 +0530 Subject: [PATCH] Update README.md --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 51abdb145..e41b4f7c2 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,15 @@ NewPipe Extractor is available at JitPack's Maven repo. If you're using Gradle, you could add NewPipe Extractor as a dependency with the following steps: +**Gradle older versions** 1. Add `maven { url 'https://jitpack.io' }` to the `repositories` in your `build.gradle`. -2. Add `implementation 'com.github.TeamNewPipe:NewPipeExtractor:INSERT_VERSION_HERE'` to the `dependencies` in your `build.gradle`. Replace `INSERT_VERSION_HERE` with the [latest release](https://github.com/TeamNewPipe/NewPipeExtractor/releases/latest). +2. Add `implementation 'com.github.TeamNewPipe:NewPipeExtractor:INSERT_VERSION_HERE'` to the `dependencies` in your `build.gradle`. + +**Gradle v6.8 and above** +1. Add `maven { url 'https://jitpack.io' }` to the `repositories` of `dependencyResolutionManagement` block in project's `settings.gradle`. +2. Add `implementation 'com.github.TeamNewPipe.NewPipeExtractor:NewPipeExtractor:v'` to the `dependencies` in your `build.gradle`. + +Replace `INSERT_VERSION_HERE` with the [latest release](https://github.com/TeamNewPipe/NewPipeExtractor/releases/latest). **Note:** To use NewPipe Extractor in projects with a `minSdkVersion` below 26, [API desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring) is required.