Added a publish task to build.gradle