How do I refresh project dependencies using Buildship in Eclipse?

前端 未结 5 1327
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-24 05:51

Eclipse Mars was recently released and I felt like trying it out. It listed tighter integration with Gradle as one of its features via Buildship.

With Luna I was usi

5条回答
  •  生来不讨喜
    2020-12-24 06:42

    If you have already converted Java project to Gradle project but [RIGHT-CLICK]+Import (Then importing 'Existing Gradle Project') then your project should be of Gradle Nature.

    If the project is of Gradle Nature then in .classpath file you will not see all the .jar dependencies as you see in normal java project, Instead you will see a single entry of:

    
    

    To refresh dependencies you should do following:

    [RIGHT-CLICK] + Gradle + Refresh Gradle Project

    This will fix all complication issues.

提交回复
热议问题