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.