https://kotlinlang.org logo
#serialization
Title
# serialization
v

ValV

10/10/2018, 11:47 AM
What happened to
kotlinx.serialization
? I have installed IDEA plugin, added and updated Maven repositories, but
Copy code
<artifactId>kotlinx-maven-serialization-plugin</artifactId>
                    <version>${serialization.version}</version>
are not found
s

sandwwraith

10/10/2018, 12:07 PM
Which version you’re trying to use?
v

ValV

10/10/2018, 12:08 PM
Tried both
0.6.2
and
0.6.1
Dependency 'org.jetbrains.kotlinx:kotlinx-maven-serialization-plugin:0.6.1' not found
s

sandwwraith

10/10/2018, 12:12 PM
I can see it here:
<https://bintray.com/kotlin/kotlinx/kotlinx.serialization.plugin/0.6.2#files/org%2Fjetbrains%2Fkotlinx%2Fkotlinx-maven-serialization-plugin%2F0.6.2>
, have you included bintray.com/kotlin/kotlinx to repositories?
v

ValV

10/10/2018, 12:13 PM
Pardon, it seems to be typo somewhere. Used autocompletion, and now it does not complain
But
import kotlinx.serialization
is still inavailable
Unresolved reference: kotlinx
why?
s

sandwwraith

10/10/2018, 12:17 PM
You have to include runtime library as well as plugin
v

ValV

10/10/2018, 12:21 PM
Not quite sure, where to get runtime libs
v

ValV

10/10/2018, 12:24 PM
Thanks, I've missed it
Ah,
class.kotlin.collections.List
can't be serialized
s

sandwwraith

10/10/2018, 12:32 PM
5 Views