Issue
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
.
I am not giving specific library because the answer for specific library is not what I am looking for
thank you in advance!
Solution
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
.....
Answered By - Gayan
Answer Checked By - Pedro (JavaFixing Volunteer)