-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
How to upload apk from different modules #636
Comments
Right, this is where GPP struggles. I've written some new docs, please let me know if you're able to follow them: https://github.com/Triple-T/gradle-play-publisher/tree/commit-docs#combining-artifacts-into-a-single-release |
Hi, Thanks for your reply. I would need to be on latest snapshot or this will work on 2.2.1 too? |
Also I had one more doubt. For example I push my app to internal and would like to promote it to beta always. Is there anyway to do it? Or will have to use that cli command mentioned in readme. If there is any gradle changes that can be done to make it permanent that will be awesome. Sorry this is not related to the main issue but thought to ask here instead of making another issue for it. |
My case is a little different as its not a flavor but module so publishNougatReleaseApk will not work. |
Replying to each of your comments:
|
Lol, ok. I can't justify supporting your use case, but you should be able to make it work with the changes I mentioned above. I'm going to close this issue, but let me know if you run into any trouble. |
Hi, I changed to flavors instead of modules and the new docs worked like a charm. Thanks for the help. I saw you did some changes for promoting apps. Thanks for that too. Will wait when android studio 3.5 is rolled to stable and docs are updated then will use it. |
Awesome! |
Hey again, So as said above I shifted to product flavors. When trying to promote it from internal to production the build doesn't fail but the app is not being promoted. I used
using this in play configs as stated in the doc
and used this
But promotion didn't work. Need to add anything else? Using v2.2.1 |
Hi, Firstly thanks so much for such an awesome tool to upload apk automatically. I had a doubt.
My project has 4 different modules like
When I do ./gradlew publishReleaseApk It only uploads apk from one of these modules and uploads it to the track mentioned.
So only way to upload all apk's is to use ./gradlew publishApk and enter the folder name where all 4 apk's are there. It does the trick but the build fails and the error message for each module is
So is there a way to upload apk's from each module without build failing.
I am on v2.2.1 of gpp as am not using AS 3.5 right now which is required on v2.3.0 plugin.
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: