title: Check version of a *.aar file module from a FlatDir
body: <p>My Android App is using a *.aar Library Module. In the gradle file of my App i have :</p>
  
  <pre><code>compile 'com.bar.core:fbi-framework:1.0.0@aar' 
  </code></pre>
  
  <p>In my Library Module gradle file i have : </p>
  
  <pre><code>defaultConfig {
          minSdkVersion 19
          targetSdkVersion 24
          versionCode 1
          versionName "1.0.0"
          version "1.0.0"        }
  </code></pre>
  
  <p>But when i change the dependency version in my app gradle File like this:</p>
  
  <pre><code>compile 'com.bar.core:fbi-framework:1.0.1@aar'
  </code></pre>
  
  <p>"1.0.1" instead of "1.0.0" No error is raised when synchronizing or when building. So i don't understand how module version is checked from a module dependency.</p>
  
  <p>To complete by an other example. When i change </p>
  
  <pre><code>compile 'com.google.android.gms:play-services:9.4.0'
  </code></pre>
  
  <p>by</p>
  
  <pre><code>compile 'com.google.android.gms:play-services:19.4.0'
  </code></pre>
  
  <p>Gradle sends </p>
  
  <blockquote>
    <p>Failed to resolve and sync project</p>
  </blockquote>
  
  <p>because the library doesn't exist. So is there a difference between library from maven central or jcenter and a *.aar file from a flatDir ? How in the first case the version is checked ?</p>
  
  <p>Thanks for your help</p>
  
  <p>regards</p>