Updated build.gradle for publishing