Gradle: excluding revision number from custom artifact name
<p>I have the following custom artifact dependency in my build.gradle:</p>

<pre><code>compile('foo:bar:1.1') {
    artifact {
        name="baz"
        extension="xsd"
        type="xsd"
    }
    force = true
}
</code></pre>

<p>When I run gradlew, I get an error saying that there is no such file as 
nexus.dir/foo/bar/1.1/baz-1.1.xsd</p>

<p>Since my file is nexus.dir/foo/bar/1.1/baz.xsd I'd like to get the version number string off from the baz.xsd so that it may be located. Is this even possible? Or should I ask the baz.xsd to be renamed?</p>