我的月食中有一个简单的gradle项目。我更新了build.gradle以包含一些Apache HTTP jars ...
dependencies {
compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
compile 'org.apache.httpcomponents:httpclient:4.2.3'
compile "org.apache.httpcomponents:httpmime:4.2.3"
testCompile group: 'junit', name: 'junit', version: '4.+'
}
但是,在我的代码中,我引用了一些Apache HTTP内容:
The import org.apache.http cannot be resolved
关于使Eclipse在build.gradle中看到新依赖项的任何提示?
我尝试进行清洁,但这不起作用。我的gradle插件是:
Gradle IDE 3.3.0.201307040643-RELEASE org.springsource.ide.eclipse.gradle.feature.feature.group GoPivotal, Inc.