Gradle DSL method not found: 'has()'
<p>After latest update of android studio , using classpath 'com.android.tools.build:gradle:2.3.0-beta1' , I am getting the following error on gradle sync .<br>
<strong>Error:Gradle DSL method not found: 'has()'</strong> </p>

<p>Any ideas </p>

<p>Update its casused by android volley , full error :</p>

<p>Error:FAILURE: Build failed with an exception.</p>

<ul>
<li><p>Where:
Script 'D:\APPS-MOBI**\Android\volley\bintray.gradle' line: 64</p></li>
<li><p>What went wrong:
A problem occurred evaluating script.</p>

<blockquote>
  <p>Could not find method has() for arguments [release] on project ':volley' of type org.gradle.api.Project.</p>
</blockquote></li>
<li><p>Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.</p></li>
</ul>