Understood I put it in the signingconfig then. Thx for your quick response Xavier :) El 25/02/2014 18:42, "Xavier Ducrohet" <[email protected]> escribió:
> This is because the zip-align task is only created if the signing is fully > setup when the tasks are created. > > We don't create the task if we think we're not going to run it. > > > On Tue, Feb 25, 2014 at 1:38 AM, Mario De Frutos <[email protected]>wrote: > >> Hi everyone, >> >> I'm trying to set the store and key passwords using readline from my >> console. I've set this properties using dex.doLast hook: >> >> if (variant.dex!= null) { >>> variant.dex.doLast{ >>> project.android.signingConfigs.release.storePassword = >>> System.console().readLine("\n\$ Enter keystore password: ") >>> project.android.signingConfigs.release.keyPassword = >>> System.console().readLine("\n\$ Enter key password: ")} >>> } >>> >>> The funny thing is that the signing process occurs without any problem >> but it skips the zipAlign task. >> >> If i set this properties inside the signingConfigs, it works fine: >> >> release { >>> storeFile file("file.keystore") >>> storePassword System.console().readLine("\n\$ Enter keystore password: ") >>> keyAlias "alias" >>> keyPassword System.console().readLine("\n\$ Enter key password: ") >>> } >>> >> >> Anyone with this problem? Thx in advance >> >> -- >> 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/groups/opt_out. >> > > > > -- > 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 a topic in the > Google Groups "adt-dev" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/adt-dev/Fy8ZrDnhB2w/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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/groups/opt_out.
