How to download the SDK

Download from Repository

The SportsTalk SDK has been published into jitpack.io. In order to use it in your application, just do the following:

  1. Add the following in root build.gradle file

// ...
allprojects {
    repositories {
       // ...
       mavenCentral()
       // ...
    }
}
// ...
  1. Add the following lines in your module build.gradle file, depending on the chosen SDK implementation(Coroutine or Rx2Java), under dependencies section:

// ...
dependencies {
    // For SDK coroutine implementation
    implementation 'com.github.sportstalk247.sdk-android-kotlin:sdk-coroutine:X.Y.Z'
    // OR
    // For SDK Rx2Java implementation
    implementation 'com.github.sportstalk247.sdk-android-kotlin:sdk-reactive-rx2:X.Y.Z'
}
// ...

https://jitpack.io/v/com.github.sportstalk247/sdk-android-kotlin.svgRelease

Then sync again. The gradle build should now be successful.