I think I do. I use the gradle config you get when creating a new MPP library in IDEA, and use the binaries that end up in the release directory, not in the debug directory. Only thing I changed was the setting to create an exe instead of a lib, so no other flags have been set