Added gradle build script

Remaining is the execution of the test.