From 3053368baadbccd5ffbebf9a5d0cc73930c7ec28 Mon Sep 17 00:00:00 2001 From: Ellet Hnewa <73608287+ellet0@users.noreply.github.com> Date: Sat, 20 Jan 2024 21:44:33 +0300 Subject: [PATCH] Update README.md to add Gradle quick start Since the library can be used in Gradle projects, most of developers nowadays uses Gradle as a build system, this simple PR provide the option to copy and paste the dependency quickly for new developers, some new developers are not familiar with maven pom xml --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index cb7a509..71129fd 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ The code is compiled with target [Java 7](https://en.wikipedia.org/wiki/Java_ver ## Quickstart +This library is published to Maven Central + Add the dependency of the [latest version](https://github.com/patrickfav/bcrypt/releases/latest) to your `pom.xml`: ```xml @@ -23,6 +25,12 @@ Add the dependency of the [latest version](https://github.com/patrickfav/bcrypt/ ``` +Or if you are using Gradle: + +```groovy +implementation("at.favre.lib:bcrypt:{latest-version}") +``` + A simple example: ```java