Editorial Note: This article is written with editorial review and topic relevance in mind.
Inside the folder.idea, has been already created a.gitignore, updated by the ide itself to avoid to commit user related settings that may contains privacy/password data. I tried and it worked. To build a jar file from a module;
How The Idea of You Movie Differs from the Book
On the main menu, choose build | build artifact. 1 here is the official answer of intellij idea 2018.3 help.