I have a solution that uses classes from mps-java-platform. It works well in the project, but when I try to package the module with the build language, it fails to resolve the dependency.
To be more specific, my solution imports classes from jetbrains.mps.ide.java.newparser. However, when I run the build script it always ends up with a failure to find that package.
I tried several ways to include the dependency but none worked. I noticed that other build scripts (e.g. mpsJavaWorkbench) depend on mps-java-platform as part of a java module. I tried to do the same (see the screenshot below), nevertheless it failed to find the classes from jetbrains.mps.ide.java.newparser.
Any advice would be greatly appreciated!