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

voddan

09/27/2018, 12:08 PM
In particular I can't find
kotlinx-gradle-serialization-plugin:0.8.1-rc13
in the repos
s

sandwwraith

09/27/2018, 12:09 PM
You can either use Kotlin 1.2.70 with 0.6.2 (idea support shipped separately) or Kotlin 1.3-RC with 0.8.1-rc13. In latter case, plugin coordinates and version matches compiler ones, see docs/eap13.md for details
v

voddan

09/27/2018, 12:16 PM
@sandwwraith what are the exact versions of the RC13 artifacts?
s

sandwwraith

09/27/2018, 12:23 PM
org.jetbrains.kotlin:kotlin-serialization:1.3.0-rc-57
for plugin;
org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.8.1-rc13
for runtime
v

voddan

09/27/2018, 12:29 PM
Thanks, with those versions all artifacts are found!
No I am getting
Cannot change dependencies of configuration ':app:debugCompile' after it has been included in dependency resolution.
Can it be because of the order the plugins are applied?
s

sandwwraith

09/27/2018, 12:32 PM
it seems that the problem somewhere in buildscript/dependencies block, I don’t know exactly where
v

voddan

09/27/2018, 12:34 PM
What should I look for? The problem disappears if comment out
apply plugin: 'com.google.gms.google-services'
s

sandwwraith

09/27/2018, 12:35 PM
I’m not familiar with google services at all, unfortunately. I’ve heard that this
apply
should be last line in the buildscript, but I can make a mistake here. Better consult theirs documentation
v

voddan

09/27/2018, 12:38 PM
Ye, it is the last line. I'll ask in #android then. Thanks!
8 Views