title: Increment version on project build
body: <p>In Android Studio I have in <code>build.gradle</code> default info about application version:</p>
  
  <pre><code>android {    
      defaultConfig {
          versionCode 24
          versionName "0.1 beta"
      }
  }
  </code></pre>
  
  <p>How can I increment the <code>versionCode</code> automatilcally on each project compilation?</p>