Open qwwdfsad opened 8 months ago
kotlinx.serialization already uses default source sets hierarchy. Regarding idea.isActive — it is necessary in order not to import a source set with module-info.java
, otherwise every common code will be red with an error about unnamed module. I am currently not aware about workarounds for that.
Follow up of https://youtrack.jetbrains.com/issue/QA-1118/
Idea.isActive
and dynamic sourcesets hackeryMight be helpful: two-phased cleanup and Gradle update https://github.com/Kotlin/kotlinx.coroutines/pull/3966 & https://github.com/Kotlin/kotlinx.coroutines/pull/4011