From 7d661d910d74e6eeecf99e199ba6da3b85881c21 Mon Sep 17 00:00:00 2001
From: junkfood <69683722+JunkFood02@users.noreply.github.com>
Date: Thu, 27 Jun 2024 19:32:50 +0800
Subject: [PATCH] build: release v0.16.0
---
README.md | 35 ++++++++++-------------------------
build.gradle | 2 +-
2 files changed, 11 insertions(+), 26 deletions(-)
diff --git a/README.md b/README.md
index 9ba57b93..128ef2a6 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# youtubedl-android
Android library wrapper for [yt-dlp](https://github.com/yt-dlp/yt-dlp) (formerly [youtube-dl](https://github.com/rg3/youtube-dl)) executable
-[![](https://jitpack.io/v/yausername/youtubedl-android.svg)](https://jitpack.io/#yausername/youtubedl-android)
+![Maven Central Version](https://img.shields.io/maven-central/v/io.github.junkfood02.youtubedl-android/library)
## Credits
@@ -38,31 +38,18 @@ Also take a look at [Seal](https://github.com/JunkFood02/Seal), another video/au
## Installation
### Gradle
-Step 1 : Add jitpack repository to your project build file
-```gradle
-allprojects {
- repositories {
- maven { url 'https://jitpack.io' }
- }
+
+```kotlin
+repositories {
+ mavenCentral()
}
-```
-Step 2: Add the dependencies
-```gradle
-dependencies {
- implementation 'com.github.yausername.youtubedl-android:library:0.14.+'
- implementation 'com.github.yausername.youtubedl-android:ffmpeg:0.14.+' // Optional
- implementation 'com.github.yausername.youtubedl-android:aria2c:0.14.+' // Optional
- }
-```
-If the build fails, use `-SNAPSHOT`
-```gradle
+
dependencies {
- implementation 'com.github.yausername.youtubedl-android:library:-SNAPSHOT'
- implementation 'com.github.yausername.youtubedl-android:ffmpeg:-SNAPSHOT' // Optional
- implementation 'com.github.yausername.youtubedl-android:aria2c:-SNAPSHOT' // Optional
- }
+ implementation("io.github.junkfood02.youtubedl-android:library:0.16.0")
+ implementation("io.github.junkfood02.youtubedl-android:ffmpeg:0.16.0")
+ implementation("io.github.junkfood02.youtubedl-android:aria2c:0.16.0") // optional
+}
```
-
* Set `android:extractNativeLibs="true"` in your app's manifest.
* Use `abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'` in app/build.gradle, see [sample app](https://github.com/yausername/youtubedl-android/blob/master/app/build.gradle).
@@ -70,8 +57,6 @@ dependencies {
* On Android 10 (API 29), set `android:requestLegacyExternalStorage="true"`.
* On Android 10+ (API 30 or higher), due to Android's Scoped Storage changes, apps only have the direct access to `Download/` and `Documents/` . And you can only download the videos into these two directories, see [related issue](https://github.com/yausername/youtubedl-android/issues/174).
-
-
## Usage
* yt-dlp executable and python 3.8 are bundled in the library.
diff --git a/build.gradle b/build.gradle
index d131bbb0..eef08fee 100644
--- a/build.gradle
+++ b/build.gradle
@@ -29,7 +29,7 @@ def versionBuild = 0 // bump for dogfood builds, public betas, etc.
ext {
versionCode = versionMajor * 100000 + versionMinor * 1000 + versionPatch * 100 + versionBuild
- versionName = "${versionMajor}.${versionMinor}.${versionPatch}-alpha"
+ versionName = "${versionMajor}.${versionMinor}.${versionPatch}"
appCompatVer = '1.4.2'
junitVer = '4.13.2'
androidJunitVer = '1.1.3'