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 | |
} |
上記のタスクを実行すると、commons-emailだけでなく、commons-emailが依存しているjarも表示される。
0 件のコメント:
コメントを投稿