Fix permissions for Gradle shell wrapper
Finish up mechanism for adding repos