updated for gradle 1.12