Adding Result to Your Build
How to add Result as a dependency to your build
This library adheres to Pragmatic Versioning to communicate the backwards compatibility of each version.
The latest releases are available in
Result supports both Maven and Gradle for seamless integration into your Java build workflow.
Apache Maven is a convention-based Java build tool that uses XML configuration to manage dependencies, compile code, and package applications in a standardized lifecycle.
Gradle is a flexible and high-performance build tool that uses a Groovy or Kotlin DSL to define builds, offering advanced customization and fast incremental builds.
Artifact Coordinates
Add this Maven dependency to your build:
com.leakyabstractions
result
Maven Central provides snippets for different build tools to declare this dependency.
Maven
Add Result as a Maven dependency to your project.
<dependencies>
<dependency>
<groupId>com.leakyabstractions</groupId>
<artifactId>result</artifactId>
<version>1.0.0.0</version>
</dependency>
</dependencies>Gradle
Add Result as a Gradle dependency to your project.
Conclusion
We learned how to add the library to your project using either Maven or Gradle. By including the correct dependencies, you're now ready to start leveraging the power of Results in your applications.
Last updated
Was this helpful?