IntelliJ IDEA extractRepoFileDependencies错误中的Gradle错误

时间:2014-08-27 19:08:58

标签: intellij-idea gradle

在IntelliJ IDEA 13.1.2中导入几乎裸骨的Gradle Java项目后,我收到以下错误。从事件日志窗口:

12:51:24 PM Gradle 'gradletest' project refresh failed:
            Cause: org.gradle.plugins.ide.internal.IdeDependenciesExtractor.extractRepoFileDependencies(Lorg/gradle/api/artifacts/ConfigurationContainer;Ljava/util/Collection;Ljava/util/Collection;ZZ)Ljava/util/List;
            Gradle settings

在项目的Gradle设置窗口中,我选择"使用默认的Gradle包装器(推荐)",并且默认为所有其余的大部分都是空的。

Gradle环境:

/usr/local/bin/gradle

$ gradle -version

------------------------------------------------------------
Gradle 2.0
------------------------------------------------------------

Build time:   2014-07-01 07:45:34 UTC
Build number: none
Revision:     b6ead6fa452dfdadec484059191eb641d817226c

Groovy:       2.3.3
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM:          1.6.0_65 (Apple Inc. 20.65-b04-462)
OS:           Mac OS X 10.9.4 x86_64

1 个答案:

答案 0 :(得分:0)

将gradle 1.10与IntelliJ 13.1.2一起使用,或将IntelliJ升级到13.1.4