Hi,
I am trying to read the output of “gradle dependencies” and i have noticed that it does not provide us with the type information that maven does.
So for example maven dependencies shows us this : where we can get the type of dependencies be it jar/ejb/ war/ pom ,etc
[**INFO**] +- org.slf4j:slf4j-reload4j:jar:1.7.36:compile
[**INFO**] | +- org.slf4j:slf4j-api:jar:1.7.36:compile
How can i programmatically get the type of import from gradle. I was taking a look at DefaultArtifactResolutionQuery but it seems like it requires a lot of parameters in constructor that i dont totally understand.
So my question is : given a group artifact version, how do i identify whether its a pom type, jar type, ejb type, etc dependency in build.gradle?
Thank you
Somak