Let's say you are using IntelliJ IDEA:```
...
apply plugin: "idea"
...
idea {
module {
sourceDirs += file("${projectDir}/build/generated/source/proto/main/java");
sourceDirs += file("${projectDir}/build/generated/source/proto/main/grpc");
}
}```
You need to know beforehand where the artifact that you are using is "generating" the class(es)...