Editorial Note: This article is written with editorial review and topic relevance in mind.
1 here is the official answer of intellij idea 2018.3 help. To build a jar file from a module; 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.
INTERVIEW Author Robinne Lee Talks THE IDEA OF YOU YouTube
On the main menu, choose build | build artifact. I tried and it worked.