How to force gradle to use a specific appcompat-v7 version?
<p>In my gradle file I have this</p>

<pre><code>dependencies {
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.0.0'
    compile 'com.android.support:design:23.0.0'
            ...
}
</code></pre>

<p>But then, running <code>gradle dependencies</code> I see something like this</p>

<pre><code>+--- com.android.support:appcompat-v7:23.0.0 -&gt; 23.1.1
|    \--- com.android.support:support-v4:23.1.1
</code></pre>

<p>What may indicates that it is automatically using <code>23.1.1</code>. This causes problems with libraries depending on <code>23.0.0</code>. I get errors like this</p>

<blockquote>
  <p>error: cannot find symbol variable dialog_fixed_height_major</p>
  
  <p>error: cannot find symbol variable dialog_fixed_height_minor</p>
  
  <p>error: cannot find symbol variable dialog_fixed_width_major</p>
  
  <p>error: cannot find symbol variable dialog_fixed_width_minor</p>
  
  <p>error: cannot find symbol variable 
  RtlOverlay_Widget_AppCompat_ActionButton_Overflow</p>
</blockquote>

<p>This is because those symbols <a href="https://developer.android.com/intl/es/sdk/support_api_diff/23.1.0/changes/android.support.v7.appcompat.R.style.html" rel="nofollow">were removed</a> on version 23.1.0</p>

<p>How can I force gradle to build agains <code>23.0.0</code> so I make dependencies happy?</p>