Update after API change.
* Task#getProperty() changed to Task#getTaskProperty() because of Groovy