title: Run jar with parameters in gradle
body: <p>I want to run a jar file with parameters located at C:/Users/nwuser/FitNesse/fitnesse-standalone.jar in my gradle script. I know how to do it without parameters:</p>
  
  <pre><code>apply plugin: 'java'
  
  task runJar(dependsOn:jar) &lt;&lt; {
    javaexec { 
      main="-jar"; args "C:/Users/nwuser/FitNesse/fitnesse-standalone.jar"
    } 
  }
  </code></pre>
  
  <p>But now I want to do something similiar like (if using the console):</p>
  
  <pre><code>java -jar fitnesse-standalone.jar -c "FrontPage?suite&amp;format=text"
  </code></pre>
  
  <p>How can I apply -c "FrontPage?suite&amp;format=text" inside my gradle script?</p>
  
  <p>Kind regards !</p>