updated for gradle