Created
November 8, 2012 06:30
-
-
Save xconnecting/4037220 to your computer and use it in GitHub Desktop.
Gradle: print buildscript dependencies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'eclipse' | |
apply plugin: 'maven' | |
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'org.apache.commons:commons-email:1.2' | |
} | |
} | |
task printBuildScriptClasspath << { | |
println project.buildscript.configurations.classpath.asPath | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is now built into gradle and can be invoked using the
buildEnvironment
task.