Skip to content

Wrong dependencies in Readme #165

@mipastgt

Description

@mipastgt

The build descriptions in the Readme seem to be wrong.

According to my experiments it is not enough to just specify this dependency

implementation("org.jetbrains.kotlinx:kotlinx-io:0.2.0")

for a multiplatform project. It results in

Execution failed for task ':shared:compileKotlinDesktop'.
> Could not resolve all files for configuration ':shared:desktopCompileClasspath'.
   > Could not find org.jetbrains.kotlinx:kotlinx-io:0.2.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/jetbrains/kotlinx/kotlinx-io/0.2.0/kotlinx-io-0.2.0.pom
       - https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-io/0.2.0/kotlinx-io-0.2.0.pom
       - https://maven.pkg.jetbrains.space/public/p/compose/dev/org/jetbrains/kotlinx/kotlinx-io/0.2.0/kotlinx-io-0.2.0.pom
       - file:/Users/mpaus/.m2/repository/org/jetbrains/kotlinx/kotlinx-io/0.2.0/kotlinx-io-0.2.0.pom
     Required by:
         project :shared

Instead you have to specify both modules explicitly like:

    implementation("org.jetbrains.kotlinx:kotlinx-io-core:0.2.0")
    implementation("org.jetbrains.kotlinx:kotlinx-io-bytestring:0.2.0")

This should be made clear in the Readme.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions