- Add the following maven dependency to your project:
<dependency>
<groupId>io.vavr</groupId>
<artifactId>vavr-gwt</artifactId>
<version>{vavr-current-version}</version>
</dependency>
- Inherit the
Vavr
module in your GWT module's descriptor file:
<module>
<!-- ... -->
<inherits name="Vavr"/>
<!-- ... -->
</module>
- Use the Vavr APIs in your code.