I just added a new test source directory to my Gradle project and want IntelliJ to recognize it. I can close the project and reopen the build.gradle file and ch
For IntelliJ 2020, right-click the build.gradle file and press the Import Gradle Project option. This will let IntelliJ know it's a Gradle project and be able to interpret it.