title: How to run testng xml using gradle?
body: <p>I am trying to run testng.xml using gradle task but looks like its not picking it. Can someone please help me in identifying what I am missing here? Do I need to pass the path of testng.xml somewhere?</p>
  
  <pre><code>build.gradle 
  
      test {
          useTestNG {
              useDefaultListeners = true   
      }
  </code></pre>