Use dependsOn rather than setDependsOn.