We don't generally do this in public build scripts. If you depend on mavenLocal() the best practice is to add it to your local init.gradle. But users should be able to build without this.