Compiler as a gradle/maven plugin
Moved from https://github.com/kaitai-io/kaitai_struct/issues/1194, original was by @jvmlet:

> Hi
> What is the best way to automate the generation of classes/structs ?
> The gradle/maven plugins seem to be the way to go... Are they exist ?
> If you bundle the compiler as executable jar it would be great and easy the integraition with build tools
