I’m still blocked by this. I really don’t know wha...
# multiplatform
r
I’m still blocked by this. I really don’t know what’s causing this, but I feel like it would not happen in a pure JVM context. At this point I’m trying to change Gradle and JDK versions to see what happens. Random but I don’t know
m
Try invalidate caches in IDEA. File -> Invalidate Caches / Restart
I think you might get the error in IDEA as well after you do that.
r
I did that and it didn’t change a thing. I just saw that most of my build.gradle.kts is red in intellij. Works fine, but intellij is lost on that side
Ok so this only happens on the Android build of the child lib, iOS build work fine
When I decompile the android parent lib build I see
public fun io.ktor.client.request.HttpRequestBuilder.useAuthentication(): kotlin.Unit {...}
so it’s there
I found the issue. I had this set on the parent lib:
Copy code
packagingOptions {
        exclude("META-INF/*.kotlin_module")
    }
This should not be set on libraries, only on apps. I had it set on a library.