Updated for gradle 0.9.