IntelliJ does not recognize Gradle test dependency

Answered

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.

0
1 comment

Does it work in case of importing the same class in .java file? 

Is it possible to share a sample project? 

0

Please sign in to leave a comment.