Trying to compile passing the same module-name for...
# build-tools
t
Trying to compile passing the same module-name for both compilation invocations of main and test and the error still happens 😕
u
When compiling the test root, you should also pass the main root in
K2JVMCompilerArguments.friendPaths
, otherwise it's considered a separate module. This argument is not yet exposed as a normal CLI option unfortunately
t
So is it exposed somehow? How could I do that?
is this gradle specific?
@udalov could you give me a tip?
Created the issue there: https://youtrack.jetbrains.com/issue/KT-21910 🙂