Ryan Rolnicki
12/10/2021, 12:48 AMkotlin-reflect:1.4
and lib2 built expecting kotlin-reflect:1.5
, when executing there will only be one version of the kotlin runtime - maybe 1.6. For any functions that are the same between those kotlin-reflect:1.4
and kotlin-reflect:1.5
, things will work fine. But if kotlin-reflect:1.4
uses some method that was removed in 1.5, I get a runtime exception. I can't lower my version of the runtime to 1.4 because it will break lib2.
Is this basically a case where I can't use both lib1 and lib2 until lib1 owner publishes a new version that relies on kotlin-reflect:1.5
? Is this a problem I need to expect for any libraries that use Alpha/Beta components? I don't think there is any guarantee for ABI compatibility for non-stable components.