Added initial gradle build.

Well, your project has no build system. This PR will add a gradle one at least.
With no build system, jenkins could do nothing to build your project.
Also please accept the JDK licence agreement in Jenkins, so it can install a JDK for you.
(The Jenkins logs are compalining about that)
There would be great to add a JUnit Unittest to the project as well.