From fb76c1fc9ed2911103ce27a412588ffded541a6b Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Tue, 9 Jun 2020 14:17:56 -0700 Subject: [PATCH] Added Gradle section. --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index cc4a8c8..9a250cb 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,20 @@ val bitly = Bitly(File("my.properties")) 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 All implemented methods can return the full API JSON responses: