Update to the latest version of gradle plugin.
Make all a library.
Create maven repository with a gradle's task.

It's published with the github's pages.
Create sample application.