Add Gradle code for release key

And make `gradlew` script executable