title: Override property in build.gradle from the command line
body: <p>In <code>build.gradle</code> we can define variables like:</p>
  <pre><code>def libVersion='someVersion'
  </code></pre>
  <p>We can override properties in command line with <code>-PlibVersion=otherVersion</code></p>
  <p>Unfortunately it seems this command line option does not affect local variables defined in <code>build.gradle</code>. Is there a way to override these from command line? Please note that for some reasons i do not want to create <code>settings.gradle</code> nor <code>gradle.properties</code> files.</p>