How to To get a Git project into your build: Add the dependency dependencies { implementation 'in.co.devdattashinde:devdattashinde-utils-validator:1.0.0' } Use Validator.isValidMobile("mobileNo")