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...)
Right, changed to only use maven dependencies - it's a lot easier to keep working. :)