How to download the SDK

Download from Repository

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

  1. Add the following in root build.gradle file

// ...
allprojects {
    repositories {
       // ...
       mavenCentral()
       maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots/" }
       maven {
          url "https://jitpack.io"
       }
       // ...
    }
}
// ...
  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 'io.github.sportstalk247.sdk-android-kotlin:sdk-coroutine:X.Y.Z'
    // OR
    // For SDK Rx2Java implementation
    implementation 'io.github.sportstalk247.sdk-android-kotlin:sdk-reactive-rx2:X.Y.Z'
}
// ...

Jitpack Jitpack

Maven Central Maven Central

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