[INTERNAL] Very first attempt at a build script for the IntelliJ plugin.

As generated by IntelliJ. Will likely require a lot of pruning and changes.