-
Notifications
You must be signed in to change notification settings - Fork 395
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
Feature publisher #534
Feature publisher #534
Conversation
Anyone wanna look into this? Otherwise I will merge it soon. |
As you can see it's getting really good, more features :) |
I will look at this asap ... I have a feeling we should cut a 4.1.0 release very soon! |
Going forward it would be cool to also support publishing to other stores. Do you think we should have a different mojo for each publishing (then we should rename this mojo to publish2play maybe or so) if we use one mojo then we would have a config parameter for what store(s) to publish to. I think it might be easier to have each store be separate and therefore vote for renaming the mojo.. |
OK, first of all I am highly unlikely to use this Mojo, so consider that But I would argue that it should be a single Mojo for all stores that uses [image: photo] On Sat, Dec 13, 2014 at 9:18 AM, Manfred Moser [email protected]
|
That was my concern to some degree as well... I just have a feeling it has the potential to get messy. On the other hand we might never get another publish implementation for any other store.. |
Both very true. Where it has the potential to get messy is with the config as the code can That way the Mojo just picks up each store config and feeds it to the [image: photo] On Sat, Dec 13, 2014 at 10:30 AM, Manfred Moser [email protected]
|
Alright... so for now I would suggest that we add the store related parameters (you choose what you want to name it and default it to the play store. And name the configs so that it is clear they apply to the play store somehow. Also keep in mind that Play might be a bad name since it used to be Market right ;-) Maybe just use Google. The rest of the refactor into separate classes and config stuff can imho wait until we have to add another store because someone steps up to do it (not gonna be me or @william-ferguson-au it seems ;-) |
:-) +1
|
So just adding google as android.publisher.store parameter? (btw if we do not support any other store it's a useless parameter that might confuse the user, only useful if we support the pullparameter but I don't think it is even needed see below) I don't think we need to add the PullParameter now since we only have 1 store anyway plus there is actually no parameter to set in the pom. So I vote for merging as is... and I see a nice use case where we prepare store data in the folder and then run 1 command instead of updating each field manually on the play store. :) less manual work! The play store data can even be committed to git and would be safe there. (src/main/play) |
Why can't/wou'dn't the email and p12 key path be specified in the POM? [image: photo] On Sat, Dec 13, 2014 at 3:51 PM, Benoit Billington <[email protected]
|
Well the email is generated by google on the play store console and that would be sort of ok but the p12key can't be placed in the repo so it might be in different location on different computers and it can't be placed into the repository as it is an access key for the google play account |
I would have thought the p12 key would either be a reference to a location If you need to configure it then it will be a config param of the Mojo. [image: photo] On Sat, Dec 13, 2014 at 4:27 PM, Benoit Billington <[email protected]
|
If you use the Mojo inside a project the only required parameters are indeed the publisher email and the p12,most likely located in settings.xml (see the asciidoc as well). For the multiple store issue I think agree with @Shusshu since there is only one store at the moment |
William yes they are already defined as parameter for the mojo.
|
So as per Manfred's suggestion wrap the 2 Google Play params into a ᐧ On Mon, Dec 15, 2014 at 12:06 AM, Benoit Billington <
|
Rename from android.publisher.p12 to android.publisher.google.p12 No need to use the PullParameter as it will either be added to the command line or in a profile |
569bf1d
to
83af479
Compare
I merged this and all the stuff is there and should be working. For some weird reason however the commits are from your branch from @jdegroot are gone. Not sure what went wrong. Didnt do anything different than on other times. I hope thats not a problem. So sorry about that. Thanks a lot for the contribution.. |
@mosabua No worries, it's cool that it's in : -) |
First mojo for the Play store publisher.
Using the same file structure for store listing, what's new, etc. as the Gradle publisher.
https://github.com/Triple-T/gradle-play-publisher
Can be used inside or outside a project,
Publisher email and p12 file are required (https://developers.google.com/android-publisher/getting_started).
Close #418
Co-authored by @Shusshu