Skip to content

Commit

Permalink
Document how to add dependency in a Gradle project.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpe7s committed Oct 2, 2024
1 parent 967d28f commit 86327d5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,26 @@
- java.net.http
- [JSON Iterator](https://github.com/comodal/json-iterator?tab=readme-ov-file#json-iterator)

### Add Dependency

Create
a [GitHub user access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic)
with read access to GitHub Packages.

Then add the following to your Gradle build script.

```groovy
repositories {
maven {
url = "https://maven.pkg.github.com/sava-software/sava"
credentials {
username = GITHUB_USERNAME
password = GITHUB_PERSONAL_ACCESS_TOKEN
}
}
}
```

### Contribution

Unit tests are needed and welcomed. Otherwise, please open an issue or send an email before working on a pull request.
Expand Down

0 comments on commit 86327d5

Please sign in to comment.