diff --git a/README.md b/README.md index 3f9751335..ea8350e8b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ [Java CI with Maven](https://github.com/moquette-io/moquette/workflows/Java%20CI%20with%20Maven/badge.svg?branch=main) +[![](https://jitpack.io/v/moquette-io/moquette.svg)](https://jitpack.io/#moquette-io/moquette) + ## Moquette MQTT broker [Documentation reference guide](http://moquette-io.github.io/moquette/) Guide on how to use and configure Moquette @@ -23,19 +25,30 @@ We would love :heart: to hear from Moquette users, please [let us know how you u ## Embedding in other projects -Include dependency in your project: +Use JitPack to resolve Moquette dependency in your project. + +In repositories section, add: +``` + + + jitpack.io + https://jitpack.io + + +``` +In dependencies section add: ``` - io.moquette - moquette-broker - 0.17 + com.github.moquette-io + moquette-broker + 0.18.0 ``` ## Build from sources After a git clone of the repository, cd into the cloned sources and: `./gradlew package`, at the end the distribution -package is present at `distribution/target/distribution-0.18-SNAPSHOT-bundle.tar.gz` +package is present at `distribution/target/distribution-0.19-SNAPSHOT-bundle.tar.gz` In distribution/target directory will be produced the selfcontained file for the broker with all dependencies and a running script.