Changed build.gradle to support maven deployment