Reputation: 53
Consider there are two dependencies(a and b) in main app. In main app we directly kept one version (say 1.0.0) of dependency 'a', and we kept dependency 'b' also. But in dependency 'b' there contains higher version of dependency 'a'(say 1.0.1). So when running the main app, which version of dependency 'a' will be considered.?
Upvotes: 0
Views: 205
Reputation: 12953
AFAIK, It will always take the latest version of dependency in all available versions, you can avoid that by specifying force to let gradle
know to use the specific version.
implementation("a:1.0.0"){
force = true
}
Also you can check the version used in your dependency tree, or external libraries folder
Upvotes: 1