Skip to content

Commit

Permalink
Bump version to 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
davidepianca98 committed Mar 11, 2020
1 parent 3b94159 commit 2e69544
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .idea/artifacts/KMQTT_jvm_0_1_2.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 17 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ repositories {
maven { url "https://jitpack.io" }
}
dependencies {
implementation 'com.github.davidepianca98:KMQTT:0.1.1'
implementation 'com.github.davidepianca98:KMQTT:0.1.2'
}
```

Expand All @@ -55,7 +55,7 @@ kotlin {
sourceSets {
commonMain {
dependencies {
implementation 'com.github.davidepianca98:KMQTT:0.1.1'
implementation 'com.github.davidepianca98:KMQTT:0.1.2'
}
}
}
Expand Down Expand Up @@ -109,3 +109,18 @@ fun main() {
broker.listen()
}
```

#### Internal publish code example
```kotlin
fun main() {
val broker = Broker()
broker.publish(
retain = false,
topicName = "test/",
qos = Qos.AT_MOST_ONCE,
properties = MQTTProperties(),
"testPayload".toByteArray().toUByteArray()
)
broker.listen()
}
```
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "com.github.davidepianca98"
version = "0.1.1"
version = "0.1.2"

repositories {
mavenCentral()
Expand Down

0 comments on commit 2e69544

Please sign in to comment.