https://kotlinlang.org logo
#compose
Title
# compose
k

Khan

03/30/2023, 12:41 PM
Hello. I am trying to understand the benefits of
Copy code
composeOptions {
        kotlinCompilerExtensionVersion = ""
    }
over
Copy code
suppressKotlinVersionCompatibilityCheck
Can someone direct me to a good explanation of them or explain a bit, if suppressKotlinVersionCompatibilityCheck gives us some benefit to avoid version conflicts between SDK and apps.
s

Stylianos Gakis

03/30/2023, 1:14 PM
The name
suppressKotlinVersionCompatibilityCheck
makes it pretty clear that you are in a situation where you are merely suppressing the warning that you are using two versions that are not guaranteed to work with each other. So if something breaks it’s to be expected. You should always try to make sure you got the right
kotlinCompilerExtensionVersion
and not simply suppress the warning that exists for a good reason.
k

Khan

03/31/2023, 11:43 AM
Thanks 🙂
4 Views