Using Mutiny in a Java application
Add the dependency to your project:
<dependency>
<groupId>io.smallrye.reactive</groupId>
<artifactId>mutiny</artifactId>
<version>0.11.0</version>
</dependency>
implementation 'io.smallrye.reactive:mutiny:0.11.0'
implementation("io.smallrye.reactive:mutiny:0.11.0")
//DEPS io.smallrye.reactive:mutiny:0.11.0
Using Mutiny with Quarkus
Most of the Quarkus extensions with reactive capabilities already depend on Mutiny.
You can also add the quarkus-mutiny
dependency explicitly:
mvn quarkus:add-dependency -Dextensions=mutiny
Or directly add the dependency to your pom.xml
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-mutiny</artifactId>
</dependency>
Follow the Getting started with reactive guide for more details.
Using Mutiny with Eclipse Vert.x
API bindings for many popular modules and clients from the Vert.x stack are available from the Smallrye Reactive Utilities project.
Here is how to add a dependency to the Vert.x core library with Mutiny bindings:
<dependency>
<groupId>io.smallrye.reactive</groupId>
<artifactId>smallrye-mutiny-vertx-core</artifactId>
<version>1.2.2</version>
</dependency>
Direct Download
You can also download the Mutiny JARs directly from Maven Central.