Introduce gradle build for the library.

gradle assemble

Above command generates AAR file.
Introduce uploadArchives task to upload artifact to maven repository.