Skip to content

Commit 77cf1d9

Browse files
committed
update versions after release
1 parent b6e71d6 commit 77cf1d9

File tree

5 files changed

+33
-32
lines changed

5 files changed

+33
-32
lines changed

README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -39,27 +39,24 @@ RSocket interface contains 5 methods:
3939
`suspend fun metadataPush(metadata: ByteReadPacket)`
4040

4141
## Using in your projects
42-
The `master` branch is now dedicated to development of multiplatform rsocket-kotlin. For now only snapshots are available
43-
via [oss.jfrog.org](https://oss.jfrog.org/artifactory/oss-snapshot-local/io/rsocket/kotlin/) (OJO).
44-
4542
Make sure, that you use Kotlin 1.4.X.
4643

4744
### Gradle:
4845

4946

5047
```groovy
5148
repositories {
52-
maven { url 'https://oss.jfrog.org/oss-snapshot-local' }
49+
jcenter()
5350
}
5451
dependencies {
55-
implementation 'io.rsocket.kotlin:rsocket-core:0.11.0-SNAPSHOT'
56-
implementation 'io.rsocket.kotlin:rsocket-transport-ktor:0.11.0-SNAPSHOT'
52+
implementation 'io.rsocket.kotlin:rsocket-core:0.11.1'
53+
implementation 'io.rsocket.kotlin:rsocket-transport-ktor:0.11.1'
5754
5855
// client feature for ktor
59-
// implementation 'io.rsocket.kotlin:rsocket-transport-ktor-client:0.11.0-SNAPSHOT'
56+
// implementation 'io.rsocket.kotlin:rsocket-transport-ktor-client:0.11.1'
6057
6158
// server feature for ktor
62-
// implementation 'io.rsocket.kotlin:rsocket-transport-ktor-server:0.11.0-SNAPSHOT'
59+
// implementation 'io.rsocket.kotlin:rsocket-transport-ktor-server:0.11.1'
6360
6461
// one of ktor engines to work with websockets
6562
// client engines
@@ -79,17 +76,17 @@ dependencies {
7976

8077
```kotlin
8178
repositories {
82-
maven("https://oss.jfrog.org/oss-snapshot-local")
79+
jcenter()
8380
}
8481
dependencies {
85-
implementation("io.rsocket.kotlin:rsocket-core:0.11.0-SNAPSHOT")
86-
implementation("io.rsocket.kotlin:rsocket-transport-ktor:0.11.0-SNAPSHOT")
82+
implementation("io.rsocket.kotlin:rsocket-core:0.11.1")
83+
implementation("io.rsocket.kotlin:rsocket-transport-ktor:0.11.1")
8784

8885
// client feature for ktor
89-
// implementation("io.rsocket.kotlin:rsocket-transport-ktor-client:0.11.0-SNAPSHOT")
86+
// implementation("io.rsocket.kotlin:rsocket-transport-ktor-client:0.11.1")
9087

9188
// server feature for ktor
92-
// implementation("io.rsocket.kotlin:rsocket-transport-ktor-server:0.11.0-SNAPSHOT")
89+
// implementation("io.rsocket.kotlin:rsocket-transport-ktor-server:0.11.1")
9390

9491
// one of ktor engines to work with websockets
9592
// client engines
@@ -123,8 +120,8 @@ val client = HttpClient(CIO) {
123120
)
124121

125122
//payload for setup frame
126-
setupPayload { Payload("hello world") }
127-
123+
setupPayload { buildPayload { data("hello world") } }
124+
128125
//mime types
129126
payloadMimeType = PayloadMimeType(
130127
data = "application/json",
@@ -167,7 +164,7 @@ embeddedServer(CIO) {
167164
forConnection(::SomeConnectionInterceptor)
168165
}
169166
}
170-
}
167+
}
171168
//configure routing
172169
routing {
173170
//configure route `url:port/rsocket`
@@ -177,18 +174,21 @@ embeddedServer(CIO) {
177174
requestResponse { request: Payload ->
178175
//... some work here
179176
delay(500) // work emulation
180-
Payload("data", "metadata")
181-
}
177+
buildPayload {
178+
data("data")
179+
metadata("metadata")
180+
}
181+
}
182182
//handler for request/stream
183183
requestStream { request: Payload ->
184184
flow {
185-
repeat(1000) { i ->
186-
emit(Payload("data: $i"))
187-
}
188-
}
189-
}
190-
}
191-
}
185+
repeat(1000) { i ->
186+
emit(buildPayload { data("data: $i") })
187+
}
188+
}
189+
}
190+
}
191+
}
192192
}
193193
}.start(true)
194194
```

examples/interactions/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ kotlin {
2424
sourceSets {
2525
val commonMain by getting {
2626
dependencies {
27-
implementation(project(":rsocket-core"))
28-
implementation(project(":rsocket-transport-local"))
27+
implementation("io.rsocket.kotlin:rsocket-core:0.11.1")
28+
implementation("io.rsocket.kotlin:rsocket-transport-local:0.11.1")
2929
}
3030
}
3131
}
3232
}
33+

examples/multiplatform-chat/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ kotlin {
4747
sourceSets {
4848
val commonMain by getting {
4949
dependencies {
50-
implementation(project(":rsocket-core"))
50+
implementation("io.rsocket.kotlin:rsocket-core:0.11.1")
5151

5252
implementation("org.jetbrains.kotlinx:kotlinx-serialization-protobuf:1.0.0-RC")
5353
}
@@ -56,13 +56,13 @@ kotlin {
5656
val clientMain by creating {
5757
dependsOn(commonMain)
5858
dependencies {
59-
implementation(project(":rsocket-transport-ktor-client"))
59+
implementation("io.rsocket.kotlin:rsocket-transport-ktor-client:0.11.1")
6060
}
6161
}
6262

6363
val serverJvmMain by getting {
6464
dependencies {
65-
implementation(project(":rsocket-transport-ktor-server"))
65+
implementation("io.rsocket.kotlin:rsocket-transport-ktor-server:0.11.1")
6666
implementation("io.ktor:ktor-server-cio:1.4.1")
6767
}
6868
}

examples/nodejs-tcp-transport/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ kotlin {
2828
sourceSets {
2929
val jsMain by getting {
3030
dependencies {
31-
implementation(project(":rsocket-core"))
31+
implementation("io.rsocket.kotlin:rsocket-core:0.11.1")
3232
implementation("org.jetbrains.kotlinx:kotlinx-nodejs:0.0.7")
3333
}
3434
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#Project
1818
group=io.rsocket.kotlin
19-
version=0.11.0
19+
version=0.12.0
2020

2121
#Versions
2222
kotlinVersion=1.4.10

0 commit comments

Comments
 (0)