2

I am currently using a library found on github, which our client is updating daily.

Right now, I have cloned the repository, imported the project as a separate module, and I have been able to use it just fine.

However, when the client updates the library, I have to sync, remove the module from my project, and add the updated one.

I should mention that I have to use the github app, cannot use the system embedded in Android Studio.

Is there a way to do this better?

kimv
  • 1,569
  • 4
  • 16
  • 26

1 Answers1

1

imported the project as a separate module

If, in addition of declaring it as a "module", you import that project as a git submodule, then you can make that submodule follow a branch, and a simple git submodule update --remote would be enough to update the project sources.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250