0dc7c37b62
In COMPOSITE analysis we don't have a constant SDK dependency for whole ResolutionFacade, so we have to find it manually via calling 'findSdkAcrossDependencies' In SEPARATE mode we do have such a constant SDK dependency, but there was an assumption that it doesn't make a difference (i.e. findSdkAcrossDependencies always return the same SDK as passed constant one) Turns out that assumption was wrong, particularly for projects with duplicate SDK entries in project structure. Then we would choose one SDK in some cases, and the other one on other cases - even though they a bit-to-bit equal, we will create separate descriptors for them, which might lead to some issues, like in KT-34802 ^KT-34802 Fixed