I'm using IntelliJ without a build tool for a project, I build it as a jar.
Now I'm using the iText library for PDF(s), if I put all the iText jars into a folder and add it in IntelliJ, I can use the iText functions and if the program works, I add iText as dependency and set it in Build Artifacts for the Jar, but if I build it, it just copies the compiled iText jar into my jar, so the program doesn't work.
How do I include the Library correctly in the jar, without a build tool?