To sign one or more jar files using the jarsigner
tool (part of any JDK), follow these instructions. Notice this set of
instructions assume you already have the needed KeyStore with the corresponding Code Signing certificate, the KeyStore and
certificate key password, and you know the alias of the Key to use from the KeyStore.
- Make sure to have a KeysStore with your Code Signing certificate, associated passwords, etc.
- Add the following properties to your Gradle project. Remember you probably don't want your private credentials in your versioning system: