How to use Buildship with existing Gradle projects

前端 未结 1 1811
别那么骄傲
别那么骄傲 2021-01-26 12:52

I\'ve got several projects in my Eclipse workspace that use Gradle as their build system. Up to now, I\'m running the Gradle commands from the command line.

I\'ve instal

相关标签:
1条回答
  • 2021-01-26 12:53

    The only way at the moment to make buildship pick up a project is to use the import wizard.

    • delete your project from eclipse (doesn't remove your files)
    • File -> import -> gradle -> gradle project

    follow the wizard and your project should now show up as a gradle project. If you find you still don't have any dependencies in eclipse then it is probably picking up an existing non-buildship .project file, In which case the following post should help:

    • How do I refresh project dependencies using Buildship in Eclipse?
    0 讨论(0)
提交回复
热议问题