Closed kaiseiyouse closed 2 years ago
1.2.0 works for me but 1.3.0 doesn't, can anyone help?
Hi @kaiseiyouse In your build.gradle please replace
implementation group: "com.hivemq", name: "hivemq-mqtt-client-websocket", version: hivemqVersion
implementation group: "com.hivemq", name: "hivemq-mqtt-client-proxy", version: hivemqVersion
with
implementation(platform("com.hivemq:hivemq-mqtt-client-websocket:$hivemqVersion"))
implementation(platform("com.hivemq:hivemq-mqtt-client-proxy:$hivemqVersion"))
(This is also documented (but unfortunately not updated for 1.3.0) here: https://hivemq.github.io/hivemq-mqtt-client/docs/installation/)
Sorry for the inconvenience.
Thanks SgtSilvio!
Expected behavior
1.3.0 compile successfully
Actual behavior
1.3.0 compile error Execution failed for task ':compileJava'.
To Reproduce
Steps
change hivemq version, refresh gradle, only hivemq-mqtt-client:1.3.0 jar get downloaded from maven central. Here is part of my build.gradle file
gradle version 6.4
Reproducer code
Details