How to print version of a local jar lib

Hi all,

I have a jar file in my libs folder and have added that in my dependencies list as mentioned below:

compile files('libs/ormlite-android-5.0.jar')

I am trying to print the versions of all the jars used in my project. How can I do this inside a task ?

Thanks in advance
Happy Coding…