Adding tasks to gradle build in order to publish the artifact