How can I update my eclipse classpath without losing my manual changes?

Hello,

When I need to make changes to upstream projects, I manually update my Eclipse setup to depend on the project instead of the jar. For example, project B depends on project A. When I making changes to project A, I change project B to use project A directly instead of A.jar. When I next run ‘gradle eclipse’ in project B, I lose the manual change that I made and have to re-do this change.

Is there a way to preserve my manual changes?

Thanks, Kiran.