title: How to run the cucumber test using gradle
body: <p>I'm having trouble running Cucumber tests in Gradle. I am using cucumber-jvm.</p>
  
  <p>Class <code>TestNGCucumberRunner</code> extends the <code>AbstractTestNGCucumberTests</code> and testng annotations with <code>@beforesuite</code>, <code>@aftersuite</code>..</p>
  
  <p>I usually run the <code>TestNGCucumberRunner.java</code> in IntelliJ by right-click and it runs successfully.  Now I want to </p>
  
  <ol>
  <li>Invoke the TestNGCucumberRunner.java in gradle</li>
  </ol>
  
  <p>or</p>
  
  <ol start="2">
  <li>Invoke all the features in gradle </li>
  </ol>
  
  <p>I tried to execute the TestNGCucumberRunner.java as a javaexec but that fails.</p>
  
  <p>I tried to execute all the feature files in the package. I have used <code>apply plugin: 'com.github.samueltbrown.cucumber'</code> also.</p>