For the `org.apache.tapestry5.ioc.test.IOCTestCase` class, there is a `compile` dependency on the `tapestry-test` project. This ends up as a compile dependency in the pom, so basically every Tapestry-based project has a compile dependency on `tapestry-test`.
This could be fixed by changing the dependency back to the `provided`. On the other hand, test classes in the main source sets (like `org.apache.tapestry5.test.TapestryTestCase` in `tapestry-core`) seem a bit out-of-place anyway, so maybe they should be moved to `tapestry-test` and `tapestry-test` should depend on `tapestry-core`. I guess, gradle should be able to handle what looks like a circular dependency because of the different scopes. I haven't tried it though.