I think I have a similar issue, possibly with some insights that might help in your case. I don’t need to be able to see those tests in my IDE, though. Instead it suffices if they are executed as part of ./gradlew build or even ./gradlew subproject:check.