title: Run tests in parallel using Cucumber with Java Selenium with Gradle
body: <p>I'm using Cucumber with Gradle and would like to run Cucumber features in parallel but can't figure out how. My cucumber executor looks like this:</p>
  
  <pre><code>task cucumber() {
  dependsOn assemble, compileTestJava
  doLast {
      javaexec {
          main = "cucumber.api.cli.Main"
          classpath = configurations.cucumberRuntime + sourceSets.main.output + sourceSets.test.output
          args = ['--plugin', 'pretty',
                  '--plugin', 'json:build/reports/cucumber-report.json',
                  '--plugin', 'html:build/reports/cucumber-report.html',
                  '--glue', 'stepDefinitions',
                  'src/test/java']
          systemProperty "cucumber.options", System.getProperty("cucumber.options")
      }
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Thanks, any help is appreciated</p>