-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Gradle Conflict Resolution documentation potentially has wrong logic for base version and qualifier parsing #25798
Comments
Thank you for your interest in Gradle! This is a valid documentation issue that we will address. This issue is a good choice for first-time contributors to Gradle, it is actionable and ready for contribution. See CONTRIBUTING.md for more information. |
Hey there! May I work on this issue if it's still available? |
@pratik2315 Yes, thank you! |
Thanks, @ov7a ! |
@pratik2315 Everything is ok, I've scheduled your pr to merge. Congrats on your first contribution! It's a small change, but it's honest work:) |
Fixes #25798 ### Context Changed the qualifier version to `1-2-3.3` instead of `2-3.3` [here ](https://docs.gradle.org/current/userguide/dependency_resolution.html#sec:base-version-comparison)in the docs. ### Contributor Checklist - [x] [Review Contribution Guidelines](https://github.com/gradle/gradle/blob/master/CONTRIBUTING.md) - [x] Make sure that all commits are [signed off](https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---signoff) to indicate that you agree to the terms of [Developer Certificate of Origin](https://developercertificate.org/). - [x] Make sure all contributed code can be distributed under the terms of the [Apache License 2.0](https://github.com/gradle/gradle/blob/master/LICENSE), e.g. the code was written by yourself or the original code is licensed under [a license compatible to Apache License 2.0](https://apache.org/legal/resolved.html). - [x] Check ["Allow edit from maintainers" option](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) in pull request so that additional changes can be pushed by Gradle team - [x] Provide integration tests (under `<subproject>/src/integTest`) to verify changes from a user perspective - [x] Provide unit tests (under `<subproject>/src/test`) to verify logic - [x] Update User Guide, DSL Reference, and Javadoc for public-facing changes - [x] Ensure that tests pass sanity check: `./gradlew sanityCheck` - [x] Ensure that tests pass locally: `./gradlew <changed-subproject>:quickTest` Co-authored-by: Pratik Haldankar <pratikhaldankar360@gmail.com>
Issue type
Wrong or misleading information
Problem description
Hi there!
I noticed that the table depicting the logic for parsing a Base Version and a Qualifier from an Original Version had a potentially wrong parsing.
In the example of
b1-2-3.3
, the base version isb
and the qualifier is2-3.3
. It seems that the1
is simply dropped.According to my understanding, should the qualifier be
1-2-3.3
instead?Thank you for your help and attention!
Context (optional)
No response
Page with the problem
https://docs.gradle.org/current/userguide/dependency_resolution.html#sec:base-version-comparison
The text was updated successfully, but these errors were encountered: