android.dexOptions.incremental property is deprecated
<p>When trying to run gradle build, I get following warning in Android Studio 2.2
:</p>

<p><strong>Warning:The <code>android.dexOptions.incremental</code> property is deprecated and it has no effect on the build process.</strong></p>

<p><a href="https://i.stack.imgur.com/YjX6g.png"><img src="https://i.stack.imgur.com/YjX6g.png" alt="enter image description here"></a></p>

<p>In build.gradle file here I have declare dexOptions</p>

<pre><code>dexOptions {
   incremental true
   jumboMode = true
}
</code></pre>

<p>If it is deprecated then what is the alternate option of this attribute.</p>