From 439d8e966944c55666685a8f599b4988e5d3477a Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Thu, 21 Jan 2016 17:09:00 -0800 Subject: [PATCH] Added Gradle instructions. --- README.html | 10 ++++++++++ README.md | 17 ++++++++++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/README.html b/README.html index 59e7117..201e82d 100644 --- a/README.html +++ b/README.html @@ -446,5 +446,15 @@ Cause: <pre><hs:cause default< +
+

Use with Gradle

+

Include the following in your build.gradle file:

+
repositories {
+    jcenter()
+}
+
+dependencies {
+    compile 'net.thauvin.erik.httpstatus:httpstatus:1.0.2'
+}
diff --git a/README.md b/README.md index 6d8dca1..6bc7a7d 100644 --- a/README.md +++ b/README.md @@ -143,4 +143,19 @@ Status Code | Reason `520` | Unknown Error `522` | Origin Connection Time-out `598` | Network Read Timeout Error -`599` | Network Connect Timeout Error \ No newline at end of file +`599` | Network Connect Timeout Error + +---- + +## Use with [Gradle](https://gradle.org/) +Include the following in your `build.gradle` file: + +```gradle +repositories { + jcenter() +} + +dependencies { + compile 'net.thauvin.erik.httpstatus:httpstatus:1.0.2' +} +``` \ No newline at end of file