Updated build.gradle to support maven central deployment.