Build login-server and uaa with gradle

[#74546134] https://www.pivotaltracker.com/story/show/74546134