Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #15 from chemdrew/master
Browse files Browse the repository at this point in the history
docs(readme): add repository installation details
  • Loading branch information
chemdrew committed Jul 7, 2018
2 parents 0b9e914 + 2a12146 commit bc54698
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,37 @@ response entity is used to gather the results.

## Installing

Currently the library is hosted on bintray. This can be added to your installation repositories as demonstrated below.

_Maven_
```xml
<dependency>
<groupId>io.aexp.nodes.graphql</groupId>
<artifactId>nodes</artifactId>
<version>latest</version>
</dependency>
<repositories>
<repository>
<id>bintray-americanexpress-maven</id>
<url>https://dl.bintray.com/americanexpress/maven</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>io.aexp.nodes.graphql</groupId>
<artifactId>nodes</artifactId>
<version>latest</version>
</dependency>
</dependencies>
```

_Gradle_
```
compile 'io.aexp.nodes.graphql:nodes:latest'
repositories {
maven {
url 'https://dl.bintray.com/americanexpress/maven/'
}
}
dependencies {
compile 'io.aexp.nodes.graphql:nodes:latest'
}
```

Replace _latest_ with the desired version to install. The versions available for installing can be found in the git tags, using semantic versioning.
Expand Down

0 comments on commit bc54698

Please sign in to comment.