Switch to using gradle to handle travis build