Added gradle build file.

Basic build file. However, the project needs to be split in `library` & `sample`.