Some gradle build updates to make releases easier