I cannot make a runnable .jar, the classes are missing, while in fact they are very much not. I found out that this can be caused by a bug in Intellij, some code might be missing in the _jar.xml.
So I added:
<element id="directory" name="META-INF">
<element id="file-copy" path="$PROJECT_DIR$/src/META-INF/MANIFEST.MF" />
It didn't do didely squat.
So maybe MANIFEST.MF was not in the right place, now its in Main.resources.META-INF (its in src), but still no functional jar is produced.
My MANIFEST.MF reads;
Maybe its something in the manifest file?