Move to a gradle build