title: How to use a dependency from nexus and pass a revision
body: <p>On our Nexus server we have a library with version 1.0 and 2.0. I build my main Project with Gradle.</p>
  <p>Actually I have a dependency entry in my gradle file to the library from nexus that use lib version 1.0. Everything is fine.</p>
  <p>But now I need a Version 2.0 of our library. The Problem is that the POM File of Lib 2.0 on nexus, does not have a standard version Tag anymore with 2.0 in it. like</p>
  <pre><code>&lt;groupId&gt;...&lt;/groupId&gt;
  &lt;articaftId&gt;...&lt;/articaftId&gt;
  
  &lt;version&gt;2.0&lt;/version&gt;
  </code></pre>
  <p>Instead their is this line</p>
  <pre><code>...
  &lt;version&gt;${revision}&lt;/version&gt; 
  ...
  </code></pre>
  <p>When update the dependency in my Gradle file to 2.0 and try to build my Gradle project with</p>
  <pre><code>gradle clean assemble
  </code></pre>
  <p>The build fails with this Message</p>
  <pre><code>   &gt; Could not resolve com.company.print.lib:print-lib:2.0
       Required by:
           project :com.company.printservice
        &gt; Could not com.company.print.lib:print-lib:2.0
           &gt; inconsistent module metadata found. Descriptor: com.company.print.lib:print-lib:0.0.0-SNAPSHOT Errors: bad version: expected='2.0' found='0.0.0-SNAPSHOT'
  
  </code></pre>
  <p>How I can solve this? Do I need to pass the Revision ob gradle build?</p>