Dependencies on sample declared without versions
See original GitHub issueIt will be cool to have each sample with the proper supported version of the library.
Current
Check https://github.com/spring-projects/spring-session/blob/2.0.2.RELEASE/samples/boot/jdbc/spring-session-sample-boot-jdbc.gradle were all the dependencies are declared like:
dependencies {
compile project('org.springframework.boot:spring-boot-starter-web')
...
}
Desired
But the idea is to have something like:
dependencies {
compile project('org.springframework.boot:spring-boot-starter-web:2.0.0.RELEASE')
...
}
With that declaration it will be easy to follow the project, also to reuse the samples latter.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Declaring Versions and Ranges - Gradle User Manual
A recommended practice for larger projects is to declare dependencies without versions and use dependency constraints for version declaration. The advantage is ...
Read more >Declaring Dependencies - API Manual
A recommended practice for larger projects is to declare dependencies without versions and use dependency constraints for version declaration. The advantage is ...
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 – Optional Dependencies and Dependency Exclusions
Optional dependencies are used when it's not possible (for whatever reason) ... A dependency is declared optional by setting the <optional> element to...
Read more >Overriding Dependency Versions and Using Version Ranges ...
Declaring Dependencies in Maven ... In this example, our project is declaring that it needs guava library, version 31.0-jre , from the group...
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 Free
Top 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
I’m going to close this issue, as it seems to be resolved. Please comment below if you disagree and it can be reopened.
Yeah! like that.
On Mon, Mar 26, 2018 at 10:17 AM, Vedran Pavic notifications@github.com wrote:
–
Daniel Gómez Rico