Fix some gradle things

This adds a minimal gradle.properties and adds checks to see if username are specified in the files