Sylvain Patenaude
11/27/2019, 7:52 PMian.shaun.thomas
11/27/2019, 7:54 PMSylvain Patenaude
11/27/2019, 7:54 PMian.shaun.thomas
11/27/2019, 7:56 PMSylvain Patenaude
11/27/2019, 8:01 PMian.shaun.thomas
11/27/2019, 8:01 PMSylvain Patenaude
11/27/2019, 8:16 PMian.shaun.thomas
11/27/2019, 8:20 PMSylvain Patenaude
11/27/2019, 8:23 PMimplementation kotlin('kotlinx-io')
ian.shaun.thomas
11/27/2019, 8:23 PMSylvain Patenaude
11/27/2019, 8:24 PMenableFeaturePreview('GRADLE_METADATA')
ian.shaun.thomas
11/27/2019, 8:25 PMr4zzz4k
11/27/2019, 8:26 PMSylvain Patenaude
11/27/2019, 8:29 PMr4zzz4k
11/27/2019, 8:30 PMSylvain Patenaude
11/27/2019, 9:09 PMr4zzz4k
11/27/2019, 9:21 PMSylvain Patenaude
11/27/2019, 9:46 PMimplementation kotlin('kotlinx-io')
to my gradle file, I got this error when rebuilding my root project:
Could not resolve all files for configuration ':jvmCompileClasspath'.
> Could not find org.jetbrains.kotlin:kotlin-kotlinx-io:1.3.60.
r4zzz4k
11/28/2019, 3:34 PMSylvain Patenaude
11/28/2019, 4:11 PMr4zzz4k
11/28/2019, 4:12 PMDico
12/01/2019, 7:41 AMSylvain Patenaude
12/03/2019, 3:12 PMimplementation kotlin('kotlinx-io')
won't cut it because it seems that under the hood it appends the same version to this library as the one for the 'kotlin multiplatform plugin' (which is 1.3.60 in my case)?org.jetbrains.kotlinx.kotlinx-io
and version '0.1.16'
but it doesn't seem to work. Does someone know the correct groupId & artifactId for kotlinx-io?
Also, I'm not sure if I have to
1. declare a plugin
for this specific library
2. add a specific classpath
for this library
3. use implementation
for this library
4. use compile
for this library
or a subset of these options.Dico
12/03/2019, 7:59 PMgroupId:artifactId:version
. Once you use the notation correctly, take a look at the page where you found the 3 values to see on what maven repository it is hosted. Make sure the repository URL is known by your build by registering it under repositories {}
api
instead of implementation
if you're writing a library and consumers of its api should have the dependency too.compile
instead which is the predecessor to api