Wednesday, April 22, 2015

How to show plugins' versions in Gradle

To show plugins' versions,

You can use the following command:

gradle dependencies

If you apply `jacoco` plugin as follows:

apply plugin: 'jacoco'

you will see the following result:

jacocoAgent - The Jacoco agent to use to get coverage data.
\--- org.jacoco:org.jacoco.agent:0.6.2.201302030002                                                                    
                           
jacocoAnt - The Jacoco ant tasks to use to get execute Gradle tasks.
\--- org.jacoco:org.jacoco.ant:0.6.2.201302030002                                                                    
     +--- org.jacoco:org.jacoco.core:0.6.2.201302030002
     |    \--- org.ow2.asm:asm-all:4.1
     +--- org.jacoco:org.jacoco.report:0.6.2.201302030002
     |    +--- org.jacoco:org.jacoco.core:0.6.2.201302030002 (*)
     |    \--- org.ow2.asm:asm-all:4.1
     \--- org.jacoco:org.jacoco.agent:0.6.2.201302030002

Reference:
https://gradle.org/docs/current/userguide/tutorial_gradle_command_line.html

No comments:

Post a Comment