Modify to use project.getBuildDir rather than use buildDir property.

Avoid problems with mavin-publish and ivy-publish.  They do not like a
props.get if the plugin is imported in a particular order.