https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
r

ribesg

04/24/2019, 8:22 AM
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

marstran

04/24/2019, 8:31 AM
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

ribesg

04/24/2019, 8:35 AM
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.
6 Views