Does anyone have issues with
kotlin.mpp.enableGranularSourceSetsMetadata=true
?
While my MPP library builds totally fine, it's wreaking havoc in my IDE (be it IntelliJ or Android Studio) :
•
public
modifiers are labelled as redundant (but
exlicitApi()
it enabled, removing them fails the build)
•
commonMain
sources may import declarations from
java.*
, which is illegal
•
expect
declarations are marked as errors due to "Kotlin Multiplatform is an experimental feature"
If I remove this config flag, I only have errors indicating that some
expect
declarations have no implementation in a given platform.