The Android SDK for Hasura.
For Gradle:
Add this to your project level build.gradle file
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Next, Add the following to your app level build.gradle
dependencies {
compile 'com.github.hasura:android-sdk.sdk:$release_tag'
//for eg: compile 'com.github.hasura:android-sdk.sdk:v0.0.4'
}
For Maven:
Add the JitPack repository to your build file
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add the dependency
<dependency>
<groupId>com.github.hasura.android-sdk</groupId>
<artifactId>sdk</artifactId>
<version>v0.0.4/version>
</dependency>
For a rough documentation on how to use the sdk. Take a look at this.