Is it possible to add extracted lib to .jar artifact?


I'm working at the small utility which I pack into .jar.
My utility requires another few jars, and instead of placing all dependencies into runtime classpath I decided to extract classfiles into resulting jar file.

I know, that it is possible to do via "extracted directory" option in artifacts panel.
However, if I replace the dependent library with a new one having different name (for ex. barcode-reader-1.0.jar -> barcode-reader-1.1.jar), I will be also forced to change the "extracted directory" entry in artifacts panel.

Is it possible to extract the library classfiles into resulting artifact?
If no, do you think this functionality makes sense to implement?


Please sign in to leave a comment.