Enhancing to use in gradle project.