Skip to content

Commit

Permalink
Update README.md to add Gradle quick start
Browse files Browse the repository at this point in the history
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
  • Loading branch information
EchoEllet authored Jan 20, 2024
1 parent 1dd2ae9 commit 3053368
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -23,6 +25,12 @@ Add the dependency of the [latest version](https://github.com/patrickfav/bcrypt/
</dependency>
```

Or if you are using Gradle:

```groovy
implementation("at.favre.lib:bcrypt:{latest-version}")
```

A simple example:

```java
Expand Down

0 comments on commit 3053368

Please sign in to comment.