IntelliJ does not recognize Gradle test dependency
已回答
Hi guys,
I have a gradle project with a dependency on a test jar. Intellisense does not recognize the classes even though they exist. The project builds and I can even find the class in the dependency in the project view.
I have tried invalidating cache and restarting but it doesn't help. IntelliJ version 2021.3.1 Ultimate edition.

请先登录再写评论。
Does it work in case of importing the same class in .java file?
Is it possible to share a sample project?