Skip to content

Commit 07be667

Browse files
authored
Change the type of bytestring module dependency to api (#171)
Fixes #169
1 parent 1773f85 commit 07be667

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

README.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,10 @@ repositories {
3838
}
3939
```
4040

41-
Add libraries to dependencies:
41+
Add the library to dependencies:
4242
```kotlin
4343
dependencies {
4444
implementation("org.jetbrains.kotlinx:kotlinx-io-core:0.2.0")
45-
implementation("org.jetbrains.kotlinx:kotlinx-io-bytestring:0.2.0")
4645
}
4746
```
4847

@@ -53,7 +52,6 @@ kotlin {
5352
commonMain {
5453
dependencies {
5554
implementation("org.jetbrains.kotlinx:kotlinx-io-core:0.2.0")
56-
implementation("org.jetbrains.kotlinx:kotlinx-io-bytestring:0.2.0")
5755
}
5856
}
5957
}
@@ -62,18 +60,13 @@ kotlin {
6260

6361
### Maven
6462

65-
Add libraries to dependencies:
63+
Add the library to dependencies:
6664
```xml
6765
<dependency>
6866
<groupId>org.jetbrains.kotlinx</groupId>
6967
<artifactId>kotlinx-io-core-jvm</artifactId>
7068
<version>0.2.0</version>
7169
</dependency>
72-
<dependency>
73-
<groupId>org.jetbrains.kotlinx</groupId>
74-
<artifactId>kotlinx-io-bytestring-jvm</artifactId>
75-
<version>0.2.0</version>
76-
</dependency>
7770
```
7871

7972
## Contributing

core/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ kotlin {
4242
sourceSets {
4343
val commonMain by getting {
4444
dependencies {
45-
implementation(project(":kotlinx-io-bytestring"))
45+
api(project(":kotlinx-io-bytestring"))
4646
}
4747
}
4848
val commonTest by getting {

0 commit comments

Comments
 (0)