Update my gradle dependencies in eclipse

前端 未结 5 1482
时光取名叫无心
时光取名叫无心 2020-11-30 00:11

I have a simple gradle project in my eclipse. I update the build.gradle to include a few apache http jars...

dependencies {
    compile group: \'commons-coll         


        
5条回答
  •  暖寄归人
    2020-11-30 00:47

    Looking at the Eclipse plugin docs I found some useful tasks that rebuilt my classpath and updated the required dependencies.

    • First try gradle cleanEclipse to clean the Eclipse configuration completely. If this doesn;t work you may try more specific tasks:
      • gradle cleanEclipseProject to remove the .project file
      • gradle cleanEclipseClasspath to empty the project's classpath
    • Finally gradle eclipse to rebuild the Eclipse configuration

提交回复
热议问题