Switch to https for build files

This updates the template gradle/maven build files to use https://repo instead of http://repo