2017-01-01 66 views
0

我的摇篮打造了下面的依赖gradle这个在artifactory的搜索罐子没有版本

| | +--- org.spire-math:spire_2.10:0.7.4 
| | | +--- org.scala-lang:scala-library:2.10.2 -> 2.10.5 
| | | +--- org.spire-math:spire-macros_2.10:0.7.4 
| | | | +--- org.scala-lang:scala-library:2.10.2 -> 2.10.5 
| | | | \--- org.scala-lang:scala-reflect:2.10.2 -> 2.10.5 (*) 
| | | \--- org.scala-lang:scala-reflect:2.10.2 -> 2.10.5 (*) 
| | \--- org.slf4j:slf4j-api:1.7.5 -> 1.7.10 

我了解了为什么罐子中搜索没有运行构建

* What went wrong: 
Could not resolve all dependencies for configuration ':myProject 
:compileClasspath'. 
> Could not find scala-reflect.jar (org.scala-lang:scala-reflect:2.10.5). 
    Searched in the following locations: 
     http://company_intranet:port/artifactory/vr-trunk/org/scala-lang/scala-reflect/2.10.5/scala-reflect-2.10.5.jar 

我不知道下面的错误版本

无法找到斯卡拉 - reflect.jar

我看到的版本号不追加到罐子

与正确版本的罐子是在artifactory的

回答

0

在我的本地机器的缓存造成这个错误可用。

一旦我用gradlew干净的构建-x测试--refresh依赖性,它的工作

相关问题