2
我使用的摇篮,我给下面的依赖关系:Gradle:外部依赖关系存储在哪里?
dependencies {
compile 'org.slf4j:slf4j-api:1.7.13'
compile 'org.mongodb:mongodb-driver:3.2.2'
testCompile 'org.testng:testng:6.8.1'
testCompile 'junit:junit:3.8.2'
}
我想下载的MongoDB的驱动程序。我打字:
gradle这个建立
,几秒钟后,我得到了一个消息,说的构建成功了。现在,我正在寻找MongoDB驱动程序的jar文件/目录,但我找不到它。它应该在哪里?
我没有这个目录。这是我的.gradle目录的结构: 〜/ Projects/java_phone_book2/.gradle $ tree 。 └──2.10 └──taskArtifacts ├──cache.properties ├──cache.properties.lock ├──fileHashes.bin ├──fileSnapshots.bin ├──outputFileStates.bin └─ ─taskArtifacts.bin – CrazySynthax
我没说'/.gradle /',我说'〜/ .gradle /';-) –
Vampire