added build.gradle

I did not try and perform any tests. 
The produced artifact looks fine.

Next step is to create a release task that will create a zip file that includes all the compile dependencies etc.