@@ -101,18 +101,18 @@ If you use Gradle, just include the following inside your `build.gradle(.kts)` f
101101
102102``` groovy
103103dependencies {
104- implementation("com.hivemq:hivemq-mqtt-client:1.2.2 ")
104+ implementation("com.hivemq:hivemq-mqtt-client2:2.0.0 ")
105105}
106106```
107107
108108For optional features you can choose to include additional modules:
109109
110110``` groovy
111111dependencies {
112- implementation(platform("com.hivemq:hivemq-mqtt-client -websocket:1.2.2 "))
113- implementation(platform("com.hivemq:hivemq-mqtt-client -proxy:1.2.2 "))
114- implementation(platform("com.hivemq:hivemq-mqtt-client -epoll:1.2.2 "))
115- implementation("com.hivemq:hivemq-mqtt-client -reactor:1.2.2 ")
112+ implementation(platform("com.hivemq:hivemq-mqtt-client2 -websocket:2.0.0 "))
113+ implementation(platform("com.hivemq:hivemq-mqtt-client2 -proxy:2.0.0 "))
114+ implementation(platform("com.hivemq:hivemq-mqtt-client2 -epoll:2.0.0 "))
115+ implementation("com.hivemq:hivemq-mqtt-client2 -reactor:2.0.0 ")
116116}
117117```
118118
@@ -126,8 +126,8 @@ If you use Maven, just include the following inside your `pom.xml` file.
126126 <dependencies >
127127 <dependency >
128128 <groupId >com.hivemq</groupId >
129- <artifactId >hivemq-mqtt-client </artifactId >
130- <version >1.2.2 </version >
129+ <artifactId >hivemq-mqtt-client2 </artifactId >
130+ <version >2.0.0 </version >
131131 </dependency >
132132 </dependencies >
133133 ...
@@ -155,32 +155,32 @@ For optional features you can choose to include additional modules:
155155 <dependencies >
156156 <dependency >
157157 <groupId >com.hivemq</groupId >
158- <artifactId >hivemq-mqtt-client -websocket</artifactId >
159- <version >1.2.2 </version >
158+ <artifactId >hivemq-mqtt-client2 -websocket</artifactId >
159+ <version >2.0.0 </version >
160160 <type >pom</type >
161161 </dependency >
162162 </dependencies >
163163 <dependencies >
164164 <dependency >
165165 <groupId >com.hivemq</groupId >
166- <artifactId >hivemq-mqtt-client -proxy</artifactId >
167- <version >1.2.2 </version >
166+ <artifactId >hivemq-mqtt-client2 -proxy</artifactId >
167+ <version >2.0.0 </version >
168168 <type >pom</type >
169169 </dependency >
170170 </dependencies >
171171 <dependencies >
172172 <dependency >
173173 <groupId >com.hivemq</groupId >
174- <artifactId >hivemq-mqtt-client -epoll</artifactId >
175- <version >1.2.2 </version >
174+ <artifactId >hivemq-mqtt-client2 -epoll</artifactId >
175+ <version >2.0.0 </version >
176176 <type >pom</type >
177177 </dependency >
178178 </dependencies >
179179 <dependencies >
180180 <dependency >
181181 <groupId >com.hivemq</groupId >
182- <artifactId >hivemq-mqtt-client -reactor</artifactId >
183- <version >1.2.2 </version >
182+ <artifactId >hivemq-mqtt-client2 -reactor</artifactId >
183+ <version >2.0.0 </version >
184184 </dependency >
185185 </dependencies >
186186 ...
@@ -198,7 +198,7 @@ To use the shaded version just append `-shaded` to the artifact name.
198198
199199``` groovy
200200dependencies {
201- implementation("com.hivemq:hivemq-mqtt-client -shaded:1.2.2 ")
201+ implementation("com.hivemq:hivemq-mqtt-client2 -shaded:2.0.0 ")
202202}
203203```
204204
@@ -210,8 +210,8 @@ dependencies {
210210 <dependencies >
211211 <dependency >
212212 <groupId >com.hivemq</groupId >
213- <artifactId >hivemq-mqtt-client -shaded</artifactId >
214- <version >1.2.2 </version >
213+ <artifactId >hivemq-mqtt-client2 -shaded</artifactId >
214+ <version >2.0.0 </version >
215215 </dependency >
216216 </dependencies >
217217 ...
@@ -226,18 +226,18 @@ Snapshots can be obtained using [JitPack](https://jitpack.io/#hivemq/hivemq-mqtt
226226
227227``` groovy
228228repositories {
229- ...
230- maven { url 'https://jitpack.io' }
229+ ...
230+ maven { url 'https://jitpack.io' }
231231}
232232
233233dependencies {
234- implementation("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client :develop-SNAPSHOT")
234+ implementation("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client2 :develop-SNAPSHOT")
235235
236- // snapshots for optional modules
237- implementation(platform("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client -websocket:develop-SNAPSHOT"))
238- implementation(platform("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client -proxy:develop-SNAPSHOT"))
239- implementation(platform("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client -epoll:develop-SNAPSHOT"))
240- implementation("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client -reactor:develop-SNAPSHOT")
236+ // snapshots for optional modules
237+ implementation(platform("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client2 -websocket:develop-SNAPSHOT"))
238+ implementation(platform("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client2 -proxy:develop-SNAPSHOT"))
239+ implementation(platform("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client2 -epoll:develop-SNAPSHOT"))
240+ implementation("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client2 -reactor:develop-SNAPSHOT")
241241}
242242```
243243
@@ -256,7 +256,7 @@ dependencies {
256256 <dependencies >
257257 <dependency >
258258 <groupId >com.github.hivemq.hivemq-mqtt-client</groupId >
259- <artifactId >hivemq-mqtt-client </artifactId >
259+ <artifactId >hivemq-mqtt-client2 </artifactId >
260260 <version >develop-SNAPSHOT</version >
261261 </dependency >
262262 </dependencies >
@@ -265,39 +265,39 @@ dependencies {
265265 <dependencies >
266266 <dependency >
267267 <groupId >com.github.hivemq.hivemq-mqtt-client</groupId >
268- <artifactId >hivemq-mqtt-client -websocket</artifactId >
268+ <artifactId >hivemq-mqtt-client2 -websocket</artifactId >
269269 <version >develop-SNAPSHOT</version >
270270 <type >pom</type >
271271 </dependency >
272272 </dependencies >
273273 <dependencies >
274274 <dependency >
275275 <groupId >com.github.hivemq.hivemq-mqtt-client</groupId >
276- <artifactId >hivemq-mqtt-client -proxy</artifactId >
276+ <artifactId >hivemq-mqtt-client2 -proxy</artifactId >
277277 <version >develop-SNAPSHOT</version >
278278 <type >pom</type >
279279 </dependency >
280280 </dependencies >
281281 <dependencies >
282282 <dependency >
283283 <groupId >com.github.hivemq.hivemq-mqtt-client</groupId >
284- <artifactId >hivemq-mqtt-client -epoll</artifactId >
284+ <artifactId >hivemq-mqtt-client2 -epoll</artifactId >
285285 <version >develop-SNAPSHOT</version >
286286 <type >pom</type >
287287 </dependency >
288288 </dependencies >
289289 <dependencies >
290290 <dependency >
291291 <groupId >com.github.hivemq.hivemq-mqtt-client</groupId >
292- <artifactId >hivemq-mqtt-client -reactor</artifactId >
292+ <artifactId >hivemq-mqtt-client2 -reactor</artifactId >
293293 <version >develop-SNAPSHOT</version >
294294 </dependency >
295295 </dependencies >
296296 ...
297297</project >
298298```
299299
300- Change the artifact name to ` hivemq-mqtt-client -shaded ` to get snapshots of the shaded version.
300+ Change the artifact name to ` hivemq-mqtt-client2 -shaded ` to get snapshots of the shaded version.
301301
302302JitPack works for all branches and also specific commits.
303303Just specify ` <branch>-SNAPSHOT ` or the first 10 digits of the commit id in the version.
@@ -734,7 +734,7 @@ API but return `Completable`.
734734
735735[ Semantic Versioning] ( https://semver.org/ ) is used.
736736
737- All code inside ` com.hivemq.client .internal ` packages must not be used directly. It can change at any time and is not
737+ All code inside ` com.hivemq.client2 .internal ` packages must not be used directly. It can change at any time and is not
738738part of the public API.
739739
740740Interfaces annotated with ` DoNotImplement ` must not be implemented. The implementation is provided by the library.
0 commit comments