title: Storing version of dependency in variable in gradle
body: <p>How should I store dependency version  in variable in gradle build script without error from Android Studio?  </p>
  
  <p>When I make this:  </p>
  
  <pre><code>def guavaVersion = '17.0'
  compile "com.google.guava:guava:$guavaVersion"
  </code></pre>
  
  <p>I have:<br>
  <code>A newer version of com.google.guava:guava than $guavaVersion is available: 17</code></p>