Fix gradle build

Note that you have to make sure to checkout the submodules as well. Fixes #56.

Also, it seems like a lot of work maintaining three build systems, maybe just pick one? (not sure gradle really is the best one...)
This is probably worth a comment as well and do you want to use the parent repo (https://github.com/Goddchen/mvn-repo)?