Cannot run testng xml files with packages

I tried this with gradle 1.2 and 1.3. I have a testng file which specifies packages:

<test name="Smoke Tests" parallel="methods" thread-count="5">
            <package name="com.api" />

This version with classes + groups works

<test name="smoke Tests" parallel="methods" thread-count="5">
            <class name="com.api.ListsTests"/>

Has anyone gotten packages+groups to work in a testng xml file with gradle?

What’s the error message/stack trace, and what’s in the logs?

The output looks like the normal testng runtime output, except that no tests are run. It finds the suite, but reports no tests are run.

I opened a gradle jira for this:

It appears that this also effects the groups tag.

The behaviour is exactly the same. No tests run. If you specify a class, the classes run.