TaskContainer.add was removed in Gradle 1.6 in favour of TaskContainer.create.