signingConfigs { release { storeFile file("myapp.keystore") storePassword "password123" keyAlias "thekey" keyPassword "password789" } }
Good practices to become a great Android developer — Part 1
Martin Bacigalupo

I don’t think that keeping passwords to keys inside build.gradle is a good practice, especially if the project is hosted on a third-party repository host. In my opinion, a better approach would be to put the password into environment variable and read it from the buildscript.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.