title: Version increment using gradle task
body: <p>I want to increase the version number of my project from 1.0.0. to 1.0.1 automatically whenever a new build is made through bash command. I only need to increase path number and others i will be increasing manually during manual build.</p>
  <p>i want to change</p>
  <p><strong>this :</strong></p>
  <p><code>version=1.0.0</code></p>
  <p>to
  <strong>This:</strong></p>
  <pre><code>version=1.0.1
  </code></pre>
  <p>using gradle task.
  any help that how can i do this .
  Is there any way to update this using regex  or using substring function.</p>