Skip to content

Commit

Permalink
Change the type of bytestring module dependency to api
Browse files Browse the repository at this point in the history
Fixes #169
  • Loading branch information
fzhinkin committed Jul 10, 2023
1 parent 1773f85 commit 23a4e25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
```

Expand All @@ -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")
}
}
}
Expand All @@ -62,18 +60,13 @@ kotlin {

### Maven

Add libraries to dependencies:
Add the library to dependencies:
```xml
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-io-core-jvm</artifactId>
<version>0.2.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-io-bytestring-jvm</artifactId>
<version>0.2.0</version>
</dependency>
```

## Contributing
Expand Down
2 changes: 1 addition & 1 deletion core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 23a4e25

Please sign in to comment.