Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding App Bundle (AAB) support, with tasks. #73

Merged
merged 4 commits into from
Sep 3, 2021
Merged

Adding App Bundle (AAB) support, with tasks. #73

merged 4 commits into from
Sep 3, 2021

Conversation

tiborviktorpasztor
Copy link
Contributor

@tiborviktorpasztor tiborviktorpasztor commented Jul 29, 2021

Adding an extra task appCenterUploadAab, next to appCenterUploadApk.
Removing deprecated tasks, so that I don't have to generate extra deprecated tasks for the aab variants.

This PR is loosely based on:
#71

With the main difference being, that you don't need to lock a flavor to either AAB or APK with an "artifactType" parameter, but instead you get two separate tasks for the two separate publish types. This seems to match more with the pattern the plugin is already using, as we already have appCenterUploadApk appCenterUploadMapping and appCenterUploadSymbols.

Sadly, you still can't distribute AAB-s to destinations, so I had to remove that bit as well for appCenterUploadAab tasks.

There's one thing I'm unsure about. Currently I made appCenterUpload depend on all 4 of: appCenterUploadApk, appCenterUploadAab, appCenterUploadMapping and appCenterUploadSymbols. This is exactly what I need in my application. But others might find it excessive to upload both Apk and Aab. However, it's not a big deal, because then they can just manually name which bits they want to upload.

…Removing deprecated tasks, so that I don't have to generate extra deprecated tasks for the aab variants.
@tiborviktorpasztor tiborviktorpasztor marked this pull request as draft July 29, 2021 11:32
@tiborviktorpasztor tiborviktorpasztor marked this pull request as ready for review July 29, 2021 11:33
@oliviergauthier oliviergauthier merged commit e21601b into oliviergauthier:master Sep 3, 2021
oliviergauthier added a commit that referenced this pull request Sep 7, 2021
This reverts commit e21601b.

# Conflicts:
#	src/main/kotlin/com/betomorrow/gradle/appcenter/AppCenterPlugin.kt
#	src/main/kotlin/com/betomorrow/gradle/appcenter/infra/AppCenterUploader.kt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants