Provide the dependencies from userdev plugin also for tests
scrayos opened this issue · comments
Hello!
I'm not 100% sure whether I'm doing something wrong or if this is missing as of now (since I'm pretty new to Gradle), so please be lenient with me:
Judging by the example/test plugin for the userdev plugin provided here, only a single dependency (a bundle) has to be added to the dependencies section and this bundle contains the API and NMS dependencies.
But we've got tests that also depend on NMS code and it seems the bundle will only register the dependencies for something like compileOnly (totally guessing that one), so the classes don't get added to the classpath of testCompile. Is it possible to also provide the dependencies to the test classpath (ideally as testImplementation)?
Thanks for reading!