I understand that using compile to library the main module is ignored and not output to the library jar/xml.
If the module that will become the library relies on jars loaded by the main module
#additionalJar: …. as you cannot put #additionaljar: in the module.
These do not get imported into the library jar, thus the library will not work unless you put all the additionaljar lines in the main module of the app using the library.
Is there a way to force the additional jars to be put into the library?