Adding Result to Your Build
How to add Result as a dependency to your build
Last updated
How to add Result as a dependency to your build
Last updated
Copyright 2024 Guillermo Calvo
This library adheres to Pragmatic Versioning to communicate the backwards compatibility of each version.
The latest releases are available in Maven Central.
Add this Maven dependency to your build:
Group ID | Artifact ID | Latest Version |
---|---|---|
Maven Central provides snippets for different build tools to declare this dependency.
To use Result
, we can add a Maven dependency to our project.
We can also add Result
as a Gradle dependency.
This is the most common configuration for projects using Result
internally. If we were building a library that exposed Result
in its public API, we should use api
instead of implementation
.
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.
com.leakyabstractions
result