i currently struggle to let IntelliJ to use a .swc in the form of an external library.
It always results in the classes from that swc being compiled into my resulting swf as well.
Here's what i tried:
Since the .swc is created by a module in my project, in the application that wants
to use that .swc as an external library, i created a module dependency and set it to "Provided".
I also tried "Runtime". Both had no effect (means, classes were still also in my .swf).
Then i tried something else and created a dependency using the "Module Library"
Dependency option and i selected the .swc directly. I then set it to "Provided". Also tried
"Runtime", no effect, classes were compiled into the resulting .swf
Then i looked into that temporary configuration file and saw, that regardless of what i configured,
the .swc is always included using the <library-path...> tag. But it should use the <external-library-path ...>
instead i thought. So i switched the module to "use custom compiler configuration file", let it point
to that same temporary file and simply changed the tag accordingly.
Funny thing is, it still doesn't work, those classes still end up in my .swf.
So, can someone give me a hint, what i might be missing? Thanks a ton.