Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

create intellij project and modules programmatically

I have a large project with many large directory structure. They produce around 90 JARs. The IntelliJ project structure is not the same (or similar) to the one seen by Ant scripts. This creates a lot of problems while editing the code. Main side effect is incorrect dependencies get added. Essentially I am looking to create a one-jar one-module mapping

Is it possible to create Intellij modules programmatically? I can re-use existing set of libraries, created in IntelliJ

like image 280
Jayan Avatar asked Jan 18 '23 14:01

Jayan


1 Answers

Please consider using Maven or Gradle instead, IDEA supports both. Maven support is more mature, Gradle support will improve in the future updates.

Your Maven projects will work with all the major IDEs and command line, not just IntelliJ IDEA.

like image 85
CrazyCoder Avatar answered Jan 29 '23 14:01

CrazyCoder