how to convert java project into jar file in intellij code example
Example: intellij export gradle project as jar
-File
-Project Structure
-Artifacts
-Click "+"
-Jar
-From modules with dependencies
-select directories (all modules)
-ok
-ok
-Build
-Build Artifacts...
-Build
if the jar doesn't work try this:
store MANIFEST.MF in root directory and not in /src/ and select that when
creating the artifact