im in a blank, brand new, up-to-the-minute intelli...
# multiplatform
j
im in a blank, brand new, up-to-the-minute intellij multiplatform gradle project. i'd really like to know how to start my maven-=based learning curve into this gradle system by importing kotlinx-io
d
j
Drew, I'm trying to follow the kotlinx-io README.md file and also the multiplatform gradle and it looks like the author of kotlinx-io has skipped a few assumptions in the instructions to import
the kotlin index looks like a completely irrelevant and unhelpful peice of advice
d
Generate a multiplatform project with Intellij IDEA and follow those instructions. What is the part giving you trouble?
j
'im in a blank, brand new, up-to-the-minute intellij multiplatform gradle project...' seems to follow your advice
d
Which part of the setup…
j
the part where i can validate gradle and source code with kotlinx-io sample code
d
Could not find method compile() for arguments
Try and replace
compile
with
implementation
j
wouldnt the leaaf nodes use compile ?
https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#adding-dependencies is a very large document/topic, and the intellij starter does not resemble the advice in this document
or for that matter, the README im following
looks like the sample code requries implementation 'org.jetbrains.kotlinxkotlinx coroutines io0.1.9' but then intellij highlights this in red and suggests implementation 'org.jetbrains.kotlinxkotlinx coroutines io0.27.0-eap13' and then the code breaks again.