I've got a KMM library module, and then an app wit...
# multiplatform
a
I've got a KMM library module, and then an app with a common module that depends on it. For whatever reason the common module doesn't resolve sources in the library module, but only for the
compileCommonMainKotlinMetadata
task, like theres no source set for metadata. The metadata stuff always confuses me, wondering if anyone has seen this too and knows whats up. It's only happening in the 1.6.20 upgrade and my suspicion is it has to do with HMPP but I'm not sure
1
r
Sounds like the same issue I am having: https://youtrack.jetbrains.com/issue/KT-51293
Actually there are multiple. One of them is with the metadata in general (which started after the 1.6.20 upgrade) and the other one is with the usage of
includeBuild
(which has been there for some time now, but only affects IDEA)
r
1.6.20 flipped HMPP on by default. You could try disabling it with
kotlin.mpp.hierarchicalStructureSupport=false
to see if that's what's causing the problem
Also poke Kevin if you haven't because he might have had Sqliter-related thoughts (assuming this is for SqlDelight)
r
At least in my case I had already opted-in to the HMPP before the upgrade to 1.6.20. It looks like something has changed with the metadata tasks in 1.6.20.
r
Oh yeah SqlDelight might have already had that on too. I think I'm getting confused with Okio
a
yea we already had it on
yea your linked issue looks the same
m
I'm getting a similar issue for projects that don't have a JVM target (and no HMPP): https://youtrack.jetbrains.com/issue/KT-51970