Triple-T / gradle-play-publisher

GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.
MIT License
4.12k stars 340 forks source link

Upload multiple APKs and mapping files #863

Closed iNdieboyjeff closed 3 years ago

iNdieboyjeff commented 4 years ago

Problem description

As part of the workflow we need to have, we sometimes need to upload multiple APKs (in this instance 1 for mobile version, 1 for TV version) as a single release to Google Play. We can upload the APKs OK using the artifact-dir option to a folder containing all the APKs we want to upload. However, how can we upload the mapping files? From what I can see the plugin will search for a 'mapping.txt' file in the directory - but we cannot have two files with this name in the directory.

Potential solutions/workarounds

Possibly allow renamed mapping files in the artifact-dir. Something like apkfile-name.mapping.txt and upload these as mapping files to the relevant APK file.

For example:

Would this be possible?

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

SUPERCILEX commented 4 years ago

Is there a reason you aren't using this: https://github.com/Triple-T/gradle-play-publisher#combining-artifacts-into-a-single-release

Either way, this seems like a reasonable feature request.