Handle omission of `version` field in dependency coordinates
See original GitHub issueIs your feature request related to a problem? Please describe.
The fact that I either have to use a version of +
or a dummy version for my dependencies isn’t exactly ideal. It’s a little confusing to people who are viewing my repository that the versions I’m providing in the dependencies
block aren’t actually being used.
Describe the solution you’d like
I’d like to be able to omit the version
field entirely from my dependencies, for the purpose of clarity.
Describe alternatives you’ve considered ¯\_(ツ)_/¯
Additional context I’m not sure how feasible this is with Gradle’s architecture, but I figured I’d make the feature request anyway, since I couldn’t find an issue on the topic.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to Resolve a Version Collision of Artifacts in Maven
Version collision happens when multiple dependencies link to the same artifact, but use different versions. As a result, there may be errors in ......
Read more >7 Understanding Maven Version Numbers - Oracle Help Center
In the Maven coordinates of the artifact, that is, in the project.version of the artifact's POM. In the dependency section of POMs to...
Read more >Spring Initializr Reference Guide
This section provides a brief overview of the Spring Initializr reference documentation: think of it as map for the rest of the document....
Read more >maven dependency without version - Stack Overflow
It is impossible for maven to work without defining versions of the artifacts. They should be defined somewhere in dependencyManagement tag ...
Read more >Maven by Example - Sonatype Help
Dependency Management. Because a project is defined by a unique set of coordinates consisting of a group identifier, an artifact identifier, and a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Good thing I don’t do Android development, then! Thanks for the tip.
refreshVersions will use
_
as a placeholder and support new Gradle 6 dependencies features where you remove the versions after you added platform constraints from a BOM or gradle metatdata