title: Run a specific TestNG XML test suite with Gradle from command line?
body: <p>I am using Gradle with TestNG. I have this build.gradle:</p>
  
  <pre><code>useTestNG() {
          useDefaultListeners = true
          suites "src/test/resources/tests1.xml"
          suites "src/test/resources/tests2.xml"
     }
  }
  </code></pre>
  
  <p>How can I run for example only tests1.xml from command line?</p>