my question relates to Eclipse, Gradle and Git, primarly to Gradle and Git and the standard workflow one should use. For example, I’m in Eclipse working on something, than I switch the branch to another one with different external dependencies. So, my working tree gets replaced, including the build script. Eclipse tries to compile but will fail due to missing libraries.
What do I do now? Run some defined gradle task that fetches the libraries from the defined (e.g. maven-repo) and copies them into the suitable folders? And if so, do you guys automate that with some kind of “post-checkout-hook” defined for Git?