I am having issues getting Idea Flex Modules to compile with assets. The classes in the module are compiled and bundled in the swc as expected, but all assets (png, icon, fonts, etc) are not compiled into the swc. Using ant, we build the swc with the classes and the assets compiled into the swc file. The module is laid out as :
Module Content Root --> Marked as "Sources"
The resulting swc contains only MyClass. The compiler option include-file allows for the inclusion of the asset even if not referenced from a class in the same swc.