Here: https://gist.github.com/ducrohet/e0d854c54bd0ceeb7044

Then, all you have to do is create a SignApk task that does what you need
(send the apk and get the result synchronously).

On Tue, Sep 23, 2014 at 8:27 AM, Tomáš Procházka <[email protected]>
wrote:

> Thanks, I will try it. But some more detailed example would be useful ;-)
>
> Dne pondělí, 22. září 2014 15:29:21 UTC+2 Jake Wharton napsal(a):
>>
>> We do this.
>>
>> If you don't give it a signing config it won't sign the release build.
>> Then you can add a task which depends on packageRelease and on which
>> assembleRelease depends.
>>
>> On Mon, Sep 22, 2014 at 6:09 AM, Tomáš Procházka <[email protected]>
>> wrote:
>>
>>> It is possible to override sign process for release build?
>>> I need do it remote, because developers has not private key.
>>> I need to send unsigned APK to the remote server which will provide
>>> signed APK in the reply.
>>> It should by possible by Groovy but I don't know how to override sign
>>> task provided by android plugin.
>>> Did anybody already do something like this?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "adt-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "adt-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to