Maven

Add RTBSDK using Maven

Basic integration steps

Add the RTBSDK repository

First of all, you will need to add RTBSDK's repository to your list of repositories. Edit your main build.gradle file:

allprojects {
    repositories {
        google()
        mavenCentral()
        //... other repositories you use
        maven {
            url 'https://android-sdk-rtb.gravite.net/maven'
        }
    }
}

Integrate RTBSDK

To add RTBSDK add the following dependency in your app's build.gradle file:

dependencies {
    //... other project dependencies
    implementation ('com.rtb.sdk:RTB-SDK:<SDK_VERSION>') {
        transitive = true
    }
}

Last updated