title: Gradle execute command lines in custom task
body: <p>In my gradle file I defined the following task:</p>
  
  <pre><code>task text_example &lt;&lt;
  {
     //?!? commandLine ''
     println 'Fam Flinstone'
  }
  </code></pre>
  
  <p>I want to put inside this task some commands line. How can I do that ?</p>
  
  <p>I'm using a library to automatically publish in google play. My project is based on Product Flavors and I need to pass in terminal command line by command line for every and each one of my flavors. So I want to pass all commands line in <code>test_example</code> task.</p>