Skip to content

Commit 7778c25

Browse files
committed
update README.md
1 parent 7ead46d commit 7778c25

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Quinine
22

33
![build status](https://github.com/Project5E/quinine/workflows/build/badge.svg)
4+
[![Jitpack](https://jitpack.io/v/com.moumoux/quinine.svg)](https://jitpack.io/#com.moumoux/quinine)
45
![Kotlin 1.3.72](https://img.shields.io/badge/Kotlin-1.3.72-orange)
56

67
So far, it's a Kotlin cache library using [Caffeine](https://github.com/ben-manes/caffeine)
@@ -11,6 +12,23 @@ Still, working in progress.
1112

1213
## Example
1314

15+
Add this to `build.gradle`:
16+
```gradle
17+
allprojects {
18+
repositories {
19+
...
20+
maven { url 'https://jitpack.io' }
21+
}
22+
}
23+
```
24+
```gradle
25+
dependencies {
26+
implementation 'com.moumoux:quinine:0.0.1'
27+
}
28+
```
29+
30+
### Usage
31+
1432
```kotlin
1533
val cache: QuinineCache<Int, Int> = Quinine
1634
.newBuilder()

0 commit comments

Comments
 (0)