Gradle setup

Gradle is now ready, This does depend on having an environment variable KEYSTORE_DIR that has the location of your default keystore if you only want to use the command line.