diff --git a/README.md b/README.md index 30d4bccaa..f7ec5a027 100644 --- a/README.md +++ b/README.md @@ -38,11 +38,10 @@ repositories { } ``` -Add libraries to dependencies: +Add the library to dependencies: ```kotlin dependencies { implementation("org.jetbrains.kotlinx:kotlinx-io-core:0.2.0") - implementation("org.jetbrains.kotlinx:kotlinx-io-bytestring:0.2.0") } ``` @@ -53,7 +52,6 @@ kotlin { commonMain { dependencies { implementation("org.jetbrains.kotlinx:kotlinx-io-core:0.2.0") - implementation("org.jetbrains.kotlinx:kotlinx-io-bytestring:0.2.0") } } } @@ -62,18 +60,13 @@ kotlin { ### Maven -Add libraries to dependencies: +Add the library to dependencies: ```xml org.jetbrains.kotlinx kotlinx-io-core-jvm 0.2.0 - - org.jetbrains.kotlinx - kotlinx-io-bytestring-jvm - 0.2.0 - ``` ## Contributing diff --git a/core/build.gradle.kts b/core/build.gradle.kts index 21604aebf..9dac96609 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -42,7 +42,7 @@ kotlin { sourceSets { val commonMain by getting { dependencies { - implementation(project(":kotlinx-io-bytestring")) + api(project(":kotlinx-io-bytestring")) } } val commonTest by getting {