Added maven POM info.
This commit is contained in:
parent
439d8e9669
commit
1539462d1d
4 changed files with 82 additions and 32 deletions
18
README.md
18
README.md
|
@ -147,15 +147,21 @@ Status Code | Reason
|
|||
|
||||
----
|
||||
|
||||
## Use with [Gradle](https://gradle.org/)
|
||||
## Use with [Gradle](https://gradle.org/) or [Maven](http://maven.apache.org/)
|
||||
Include the following in your `build.gradle` file:
|
||||
|
||||
```gradle
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile 'net.thauvin.erik.httpstatus:httpstatus:1.0.2'
|
||||
compile 'net.thauvin.erik.httpstatus:httpstatus:1.0.3'
|
||||
}
|
||||
```
|
||||
|
||||
or as a Maven artifact:
|
||||
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>net.thauvin.erik.httpstatus</groupId>
|
||||
<artifactId>httpstatus</artifactId>
|
||||
<version>1.0.3</version>
|
||||
</dependency>
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue