Added Gradle section.
This commit is contained in:
parent
bf164e2b7d
commit
fb76c1fc9e
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
@ -45,6 +45,20 @@ val bitly = Bitly(File("my.properties"))
|
||||||
BITLY_ACCESS_TOKEN=abc123def456ghi789jkl0
|
BITLY_ACCESS_TOKEN=abc123def456ghi789jkl0
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Gradle
|
||||||
|
|
||||||
|
To use with [Gradle](https://gradle.org/), include the following dependency in your [build](https://github.com/ethauvin/bitly-shorten/blob/master/examples/build.gradle.kts) file:
|
||||||
|
|
||||||
|
```gradle
|
||||||
|
repositories {
|
||||||
|
jcenter()
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation("net.thauvin.erik:bitly-shorten:0.9.2")
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
### JSON
|
### JSON
|
||||||
|
|
||||||
All implemented methods can return the full API JSON responses:
|
All implemented methods can return the full API JSON responses:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue