Ensure sample builds resolve the correct plugin
Ensure sample builds resolve the correct plugin

The publish and publishToMavenLocal tasks update different maven
metadata files in the local repository causing sample builds to resolve
the wrong plugin jar and fail.

rodm/gradle-teamcity-plugin,rodm/gradle-teamcity-plugin