[Android] ReleaseBuild: add amazon bundle
Duncan McNamara
git at videolan.org
Tue Mar 18 13:45:59 UTC 2025
vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Mon Mar 17 12:07:02 2025 +0100| [983c9678e05471c3011742b68815d24318d1f71c] | committer: Nicolas Pomepuy
ReleaseBuild: add amazon bundle
Amazon store now requires app bundles, though unlike the play store, it
requires API 17+
Fixes #3168
> https://code.videolan.org/videolan/vlc-android/commit/983c9678e05471c3011742b68815d24318d1f71c
---
application/app/build.gradle | 7 +++++++
buildsystem/gitlab/.gitlab-ci.yml | 2 ++
2 files changed, 9 insertions(+)
diff --git a/application/app/build.gradle b/application/app/build.gradle
index 64adb29a2a..212c3be4ed 100644
--- a/application/app/build.gradle
+++ b/application/app/build.gradle
@@ -70,6 +70,9 @@ android {
beforeVariants(selector().withBuildType("vlcBundle")) { variantBuilder ->
variantBuilder.minSdk = 30
}
+ beforeVariants(selector().withBuildType("vlcBundleAmazon")) { variantBuilder ->
+ variantBuilder.minSdk = 17
+ }
}
buildTypes {
@@ -88,6 +91,10 @@ android {
initWith release
matchingFallbacks = ['release']
}
+ vlcBundleAmazon {
+ initWith release
+ matchingFallbacks = ['release']
+ }
debug {
applicationIdSuffix ".debug"
jniDebuggable true
diff --git a/buildsystem/gitlab/.gitlab-ci.yml b/buildsystem/gitlab/.gitlab-ci.yml
index 8f9a48611e..3e8ebcb3aa 100644
--- a/buildsystem/gitlab/.gitlab-ci.yml
+++ b/buildsystem/gitlab/.gitlab-ci.yml
@@ -502,11 +502,13 @@ release:
- ./buildsystem/compile.sh --init
- ./gradlew assembleRelease
- ./gradlew bundleVlcBundle
+ - ./gradlew bundleVlcBundleAmazon
artifacts:
name: "${CI_COMMIT_TAG}"
paths:
- application/app/build/outputs/apk/release/VLC-Android-*.apk
- application/app/build/outputs/bundle/vlcBundle/*.aab
+ - application/app/build/outputs/bundle/vlcBundleAmazon/*.aab
# - application/app/build/outputs/mapping/release/mapping.txt
expire_in: 2 weeks
More information about the Android
mailing list