Added Gradle and maven dependencies

This commit is contained in:
Gilbert Kimutai 2019-02-17 13:13:03 +03:00 committed by GitHub
parent 17177d07e0
commit 09d723b443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,13 +11,43 @@ Built-based on the documentation: http://woocommerce.github.io/woocommerce-rest-
## Installation
### Maven dependency:
Step 1. Add the JitPack repository to your build file
```xml
TODO
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
```
Step 2. Add the dependency
```xml
<dependency>
<groupId>com.github.gilokimu</groupId>
<artifactId>woodroid</artifactId>
<version>0.1.0</version>
</dependency>
```
### Gradle dependency:
Step 1. Add the JitPack repository to your build file
```xml
TODO
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
Step 2. Add the dependency
```xml
dependencies {
implementation 'com.github.gilokimu:woodroid:0.1.0'
}
```
## Getting started