Spock unit tests while using Gradle to build a play application

Hello. I am currently working on a project that uses the Gradle play plugin to build a play application. Currently all the tests are written in Java using Junit. We are trying to add support for the Spock testing framework (groovy), is there a way to get this to work while using the play plugin?

We had no trouble adding Spock to a project that was not using play by simply using the groovy plugin. But it doesn’t seem as simple with play, based on how the play plugin manages the tests.