So... here is the scenario.
Let's say I am trying to add library A to build.gradle file.
And I want to know if version of library A is managed by plugin io.spring.dependency-management.
How can I achieve that?
I am not giving specific library because the answer for specific library is not what I am looking for
thank you in advance!

The io.spring.dependency-management plugin provides a task, dependencyManagement, that could be used to find all the managed dependencies and their versions.
$ gradle dependencyManagement
> Task :dependencyManagement
------------------------------------------------------------
Root project
------------------------------------------------------------
global - Default dependency management for all configurations
antlr:antlr 2.7.7
ch.qos.logback:logback-access 1.2.10
ch.qos.logback:logback-classic 1.2.10
ch.qos.logback:logback-core 1.2.10
com.atomikos:transactions-jdbc 4.0.6
com.atomikos:transactions-jms 4.0.6
org.springframework:spring-core 4.1.5.RELEASE
.....
Useful commands:
./gradlew dependencyManagement | less
./gradlew dependencyManagement | grep <library-name>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With