I created a some_library_v1.jar and created an testApp to show how to use this jar and finally pushed the testApp on our server.
Then requirements were changed and I updated jar, replaced it with new name some_library_v2.jar and pushed the testApp again. But it turned out that Android Studio thinks that I only changed name of jar. As a workaround I just added old jar and pushed it again, so, now folder libs contains several versions of my library.
My question is how to make Android Studio understand that I have changed a library but not only jar's name?