Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sergejsha authored Aug 16, 2024
1 parent 49c53bb commit 7f07424
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Reader(private val bufferSize: Int) {

suspend fun readData() {
try {
httpClient.post("read-data")
httpClient.get("read-data")
} catch (e: Exception) {
w(TAG, e) { "data reading failed" } // warning
e(TAG, e) // error
Expand Down Expand Up @@ -124,7 +124,7 @@ class Reader {
}
```

# Dependencies
# How to use it in my project?

In `gradle/libs.versions.toml`

Expand Down Expand Up @@ -156,12 +156,12 @@ kotlin {
}
```

# Publishing
# Publish to maven Central

1. Bump version in `root.publication.gradle.kts`
2. `./gradlew clean build publishAllPublicationsToCentralRepository`

## Local maven
# Publish to local maven

1. Set `X.X-SNAPSHOT` version in `root.publication.gradle.kts`
2. `./gradlew clean build publishToMavenLocal`
Expand Down

0 comments on commit 7f07424

Please sign in to comment.