Our project setup for IntelliJ is quite involved; we have multiple repositories and launch configurations, as well as things like using a specific compiler, compiler warnings/errors and code styles.
Whereas it's true that all of these can be variously exported and imported manually, we're looking for a way to set up a complete development environment that can just "get everything right" out of the box.
To this aim, I've started to investigate plugin development to create a "one-click setup" plugin, but then I came across this tantalising post:
The example program, which the user was gracious enough to post in full (thanks!) looks like a standalone program (i.e. with a main() method) that uses many of the APIs that I have been using in my plugin experiments, so I'm sure that my skeleton plugin code could be adapted. This would mean that the people responsible for setting up developer machines could just run the resultant program in a (nearly) headless fashion.
Unfortunately the post has little additional context about how one would go about compiling such a program. I've tried to create a gradle build for it, but it's not obvious how to import the intellij dependencies. A search on maven central shows that you can import the artifact com.intellij:openapi, but the latest version of that is 7.0.3 dating from 2008, so I doubt that that's the correct approach.
Could any kind soul point me in the right direction?