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

dewildte

02/20/2019, 1:19 AM
This does not seem to work.
Copy code
private val httpClient: HttpClient = HttpClient {
        install(JsonFeature) {
            serializer = KotlinxSerializer().apply {
                setMapper(GloUserDTO::class, GloUserDTO.serializer())
            }
        }
    }
It produces:
Error:(15, 57) Kotlin: [net.publicmethod.multi_glo_sdk.jvmMain] Unresolved reference: serializer
s

Sabrina Namur

02/20/2019, 6:55 AM
Did you activate 'delegate build in IDEA to Gradle'? (Settings - Build, Execution, Deployment - Build Tools - Gradle - Runner - tick Delegate IDE build/run actions to gradle).
d

dewildte

02/21/2019, 1:00 AM
I did not an have no idea what that is lol
I am trying this!
Ok that caused a different error.
It cant find another class.
I can't take all of this unstable crap right now lol
I have things to do
3 Views