Dependency Reports

apply plugin: 'java'

repositories {
	mavenCentral()
}

dependencies {
	compile 'org.springframework:spring-core:4.1.1.RELEASE'
}
[vagrant@localhost ud867]$ gradle dependencies
:dependencies

------------------------------------------------------------
Root project
------------------------------------------------------------

archives - Configuration for archive artifacts.
No dependencies

compile - Compile classpath for source set 'main'.
Download http://repo1.maven.org/maven2/org/springframework/spring-core/4.1.1.RELEASE/spring-core-4.1.1.RELEASE.pom
Download http://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.pom
Download http://repo1.maven.org/maven2/org/apache/commons/commons-parent/28/commons-parent-28.pom
Download http://repo1.maven.org/maven2/org/apache/apache/13/apache-13.pom
\--- org.springframework:spring-core:4.1.1.RELEASE
     \--- commons-logging:commons-logging:1.1.3

default - Configuration for default artifacts.
\--- org.springframework:spring-core:4.1.1.RELEASE
     \--- commons-logging:commons-logging:1.1.3

runtime - Runtime classpath for source set 'main'.
\--- org.springframework:spring-core:4.1.1.RELEASE
     \--- commons-logging:commons-logging:1.1.3

testCompile - Compile classpath for source set 'test'.
\--- org.springframework:spring-core:4.1.1.RELEASE
     \--- commons-logging:commons-logging:1.1.3

testRuntime - Runtime classpath for source set 'test'.
\--- org.springframework:spring-core:4.1.1.RELEASE
     \--- commons-logging:commons-logging:1.1.3

BUILD SUCCESSFUL

Total time: 12.807 secs

$ gradle dependencies –configuration runtime
$ gradle dependencyInsight –dependency commons-logging

apply plugin: 'java'

repositories {
	mavenCentral()
}

dependencies {
	compile 'commons-logging:commons-logging:1.1.3'
	testCompile 'junit:junit:4.11'
}
[vagrant@localhost ud867]$ gradle dependencies
:dependencies

------------------------------------------------------------
Root project
------------------------------------------------------------

archives - Configuration for archive artifacts.
No dependencies

compile - Compile classpath for source set 'main'.
\--- commons-logging:commons-logging:1.1.3

default - Configuration for default artifacts.
\--- commons-logging:commons-logging:1.1.3

runtime - Runtime classpath for source set 'main'.
\--- commons-logging:commons-logging:1.1.3

testCompile - Compile classpath for source set 'test'.
Download http://repo1.maven.org/maven2/junit/junit/4.11/junit-4.11.pom
Download http://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.pom
Download http://repo1.maven.org/maven2/org/hamcrest/hamcrest-parent/1.3/hamcrest-parent-1.3.pom
+--- commons-logging:commons-logging:1.1.3
\--- junit:junit:4.11
     \--- org.hamcrest:hamcrest-core:1.3

testRuntime - Runtime classpath for source set 'test'.
+--- commons-logging:commons-logging:1.1.3
\--- junit:junit:4.11
     \--- org.hamcrest:hamcrest-core:1.3

BUILD SUCCESSFUL

Total time: 10.61 secs