Now I have my project and I am using two different versions of the same repository X. It is mainly because the user can specify on the startup which version does he/she wants to work with and then it is used accordingly. But the problem is that the repository X has proto files and it spits out an error:
proto: is already registered