title: writing groovy code for CLI commands in build.gradle
body: <p>In Android Studio, inside my <code>build.gradle</code>, can I write a task which includes groovy code for CLI commands? I want to my commands to execute only by executing the tasks and not running them every time through CLI. Like I have a command I am executing through CLI:</p>
  
  <pre><code>gradlew &lt;task_name&gt; -Dorg.ajoberstar.grgit.auth.hardcoded = true
  </code></pre>
  
  <p>In the above command, I am writing a task to clone a repository from bitbucket and passing my credentials in CLI as I execute the command. Is there a way I can write this inside my task?</p>