Skip to content

Commit ccb9b01

Browse files
authored
Merge pull request #480 from hivemq/develop
Release 1.2.2
2 parents 3f1c055 + 6428df1 commit ccb9b01

24 files changed

+293
-223
lines changed

Diff for: .gitignore

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1+
# Gradle
12
.gradle
2-
out/
33
build/
44

5+
# IntelliJ
6+
out/
57
*.iml
68
.idea/*
79
!.idea/codeStyles
810
!.idea/inspectionProfiles
11+
!.idea/runConfigurations
912

10-
.DS_Store
1113
.java-version
12-
credentials.gradle
13-
bintray.gradle
14+
.DS_Store

Diff for: .travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
include:
1919
- stage: release
2020
install: skip
21-
script: ./gradlew bintrayUpload githubRelease
21+
script: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository githubRelease
2222
jdk: oraclejdk8
2323

2424
addons:

Diff for: README.md

+30-23
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.hivemq/hivemq-mqtt-client/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.hivemq/hivemq-mqtt-client)
88
[![JitPack](https://jitpack.io/v/hivemq/hivemq-mqtt-client.svg)](https://jitpack.io/#hivemq/hivemq-mqtt-client)
9+
[![javadoc](https://javadoc.io/badge2/com.hivemq/hivemq-mqtt-client/javadoc.svg)](https://javadoc.io/doc/com.hivemq/hivemq-mqtt-client)
910
[![Build Status](https://travis-ci.com/hivemq/hivemq-mqtt-client.svg?branch=develop)](https://travis-ci.com/hivemq/hivemq-mqtt-client)
1011
[![Language grade: Java](https://img.shields.io/lgtm/grade/java/g/hivemq/hivemq-mqtt-client.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/hivemq/hivemq-mqtt-client/context:java)
1112
[![Total alerts](https://img.shields.io/lgtm/alerts/g/hivemq/hivemq-mqtt-client.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/hivemq/hivemq-mqtt-client/alerts/)
@@ -79,7 +80,13 @@ backpressure support.
7980
<img src="https://avatars3.githubusercontent.com/u/11352045?s=200&v=4" alt="Open Smart Grid Platform" height="60px"/>
8081
](https://github.com/OSGP/open-smart-grid-platform) &nbsp;&nbsp; [
8182
<img src="https://raw.githubusercontent.com/EXXETA/correomqtt/develop/icon/ico/Icon_128x128.png" alt="CorreoMQTT" height="60px"/>
82-
](https://github.com/EXXETA/correomqtt)
83+
](https://github.com/EXXETA/correomqtt) &nbsp;&nbsp; [
84+
<img src="https://avatars.githubusercontent.com/u/32634858?s=200&v=4" alt="HiveMQ Spring Boot Starter" height="60px"/>
85+
](https://github.com/SmartsquareGmbH/mqtt-starter) &nbsp;&nbsp; [
86+
<img src="https://avatars.githubusercontent.com/u/16953511?s=200&v=4" alt="HiveMQ Spring Boot Starter" height="60px"/>
87+
](https://www.openmuc.org/) &nbsp;&nbsp; [
88+
<img src="https://avatars.githubusercontent.com/u/20456341?s=200&v=4" alt="HiveMQ Spring Boot Starter" height="60px"/>
89+
](https://github.com/leftshiftone/gaia-sdk)
8390

8491
If you use the HiveMQ MQTT Client in a project that is not listed here, feel free to open an issue or pull request.
8592

@@ -91,22 +98,22 @@ Java 8 or higher is required.
9198

9299
#### Gradle
93100

94-
If you use Gradle, just include the following inside your `build.gradle` file.
101+
If you use Gradle, just include the following inside your `build.gradle(.kts)` file.
95102

96103
```groovy
97104
dependencies {
98-
implementation group: 'com.hivemq', name: 'hivemq-mqtt-client', version: '1.2.0'
105+
implementation("com.hivemq:hivemq-mqtt-client:1.2.2")
99106
}
100107
```
101108

102109
For optional features you can choose to include additional modules:
103110

104111
```groovy
105112
dependencies {
106-
implementation group: 'com.hivemq', name: 'hivemq-mqtt-client-websocket', version: '1.2.0'
107-
implementation group: 'com.hivemq', name: 'hivemq-mqtt-client-proxy', version: '1.2.0'
108-
implementation group: 'com.hivemq', name: 'hivemq-mqtt-client-epoll', version: '1.2.0'
109-
implementation group: 'com.hivemq', name: 'hivemq-mqtt-client-reactor', version: '1.2.0'
113+
implementation(platform("com.hivemq:hivemq-mqtt-client-websocket:1.2.2"))
114+
implementation(platform("com.hivemq:hivemq-mqtt-client-proxy:1.2.2"))
115+
implementation(platform("com.hivemq:hivemq-mqtt-client-epoll:1.2.2"))
116+
implementation("com.hivemq:hivemq-mqtt-client-reactor:1.2.2")
110117
}
111118
```
112119

@@ -121,7 +128,7 @@ If you use Maven, just include the following inside your `pom.xml` file.
121128
<dependency>
122129
<groupId>com.hivemq</groupId>
123130
<artifactId>hivemq-mqtt-client</artifactId>
124-
<version>1.2.0</version>
131+
<version>1.2.2</version>
125132
</dependency>
126133
</dependencies>
127134
...
@@ -150,31 +157,31 @@ For optional features you can choose to include additional modules:
150157
<dependency>
151158
<groupId>com.hivemq</groupId>
152159
<artifactId>hivemq-mqtt-client-websocket</artifactId>
153-
<version>1.2.0</version>
160+
<version>1.2.2</version>
154161
<type>pom</type>
155162
</dependency>
156163
</dependencies>
157164
<dependencies>
158165
<dependency>
159166
<groupId>com.hivemq</groupId>
160167
<artifactId>hivemq-mqtt-client-proxy</artifactId>
161-
<version>1.2.0</version>
168+
<version>1.2.2</version>
162169
<type>pom</type>
163170
</dependency>
164171
</dependencies>
165172
<dependencies>
166173
<dependency>
167174
<groupId>com.hivemq</groupId>
168175
<artifactId>hivemq-mqtt-client-epoll</artifactId>
169-
<version>1.2.0</version>
176+
<version>1.2.2</version>
170177
<type>pom</type>
171178
</dependency>
172179
</dependencies>
173180
<dependencies>
174181
<dependency>
175182
<groupId>com.hivemq</groupId>
176183
<artifactId>hivemq-mqtt-client-reactor</artifactId>
177-
<version>1.2.0</version>
184+
<version>1.2.2</version>
178185
</dependency>
179186
</dependencies>
180187
...
@@ -192,7 +199,7 @@ To use the shaded version just append `-shaded` to the artifact name.
192199

193200
```groovy
194201
dependencies {
195-
implementation group: 'com.hivemq', name: 'hivemq-mqtt-client-shaded', version: '1.2.0'
202+
implementation("com.hivemq:hivemq-mqtt-client-shaded:1.2.2")
196203
}
197204
```
198205

@@ -205,7 +212,7 @@ dependencies {
205212
<dependency>
206213
<groupId>com.hivemq</groupId>
207214
<artifactId>hivemq-mqtt-client-shaded</artifactId>
208-
<version>1.2.0</version>
215+
<version>1.2.2</version>
209216
</dependency>
210217
</dependencies>
211218
...
@@ -220,18 +227,18 @@ Snapshots can be obtained using [JitPack](https://jitpack.io/#hivemq/hivemq-mqtt
220227

221228
```groovy
222229
repositories {
223-
...
224-
maven { url 'https://jitpack.io' }
230+
...
231+
maven { url 'https://jitpack.io' }
225232
}
226233
227234
dependencies {
228-
implementation 'com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client:develop-SNAPSHOT'
229-
230-
// snapshots for optional modules
231-
implementation 'com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client-websocket:develop-SNAPSHOT'
232-
implementation 'com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client-proxy:develop-SNAPSHOT'
233-
implementation 'com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client-epoll:develop-SNAPSHOT'
234-
implementation 'com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client-reactor:develop-SNAPSHOT'
235+
implementation("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client:develop-SNAPSHOT")
236+
237+
// snapshots for optional modules
238+
implementation(platform("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client-websocket:develop-SNAPSHOT"))
239+
implementation(platform("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client-proxy:develop-SNAPSHOT"))
240+
implementation(platform("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client-epoll:develop-SNAPSHOT"))
241+
implementation("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client-reactor:develop-SNAPSHOT")
235242
}
236243
```
237244

0 commit comments

Comments
 (0)