-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ditch mavenLocal #387
Comments
Will I still be able to do 'publishToMavenLocal' myself, though? That's an easy standard Gradle thing an outside contributor can use to build and use artifacts locally for testing PRs, etc. I just tried to build a major Android-related project that somehow disabled 'publishToMavenLocal', and at some point I just had to give up, it was a big waste of time and certainly did not increase my appreciation levels for said project. |
This shouldn't impact you. We just won't use |
Generally speaking I like using Is there a better way? Straightforward alternatives I can think of: running my own proper repo locally (too much maintenance), copying build artifacts over to my project (dependencies are lost), publishing to public repo with changed coordinates (have to change some stuff around in 3rd party project and my own), maybe build via GitHub (no experience there). The other project I mentioned recommended using direct |
I'm currently exploring using Gradle Composite builds as a way to handle this scenario: But I haven't yet tested this approach with grpc-kotlin. |
Currently grpc-kotlin's CI publishes to the Maven Local repo, then the samples use that repo to verify that everything works. But it turns out that using
mavenLocal()
has a bunch of bad side effects. For example, if a dependency is pulled into Maven Local via Maven, then it doesn't have the Gradle metadata and that can cause differing dependency resolution. So this project should ditch Maven Local to support more deterministic builds.The text was updated successfully, but these errors were encountered: