I'm running tests for a gradle kotlin project by c...
# intellij
r
I'm running tests for a gradle kotlin project by clicking the arrow next to the test class (or method), but I get a NoSuchMethodError for the constructor of a class. Running
./gradlew clean check
from the command line works fine. I've noticed the module is set to
server_test
. If I create an "All in package" run config which searches for tests in the whole project, things work fine, when I set it to single module and the
server_test
module, the error returns. The tests only exist in
server_test
, but that seems to break access to the
server_main
classpath. Am I missing something in this setup?