Kotlin / kotlinx.serialization

Kotlin multiplatform / multi-format serialization
Apache License 2.0
5.39k stars 621 forks source link

Tidy up our build setup #2574

Open qwwdfsad opened 8 months ago

qwwdfsad commented 8 months ago

Follow up of https://youtrack.jetbrains.com/issue/QA-1118/

Might be helpful: two-phased cleanup and Gradle update https://github.com/Kotlin/kotlinx.coroutines/pull/3966 & https://github.com/Kotlin/kotlinx.coroutines/pull/4011

sandwwraith commented 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.