Add the SDK through Gradle

The simplest way of adding the Android Publisher SDK to your Android Studio project is to download the AAR library through Gradle.

The first step is to include the following Maven repository in your module’s build.gradle file (usually the file under MyApplication/app/):

repositories {
    maven { url "https://aa-sdk.s3-eu-west-1.amazonaws.com/android_repo" }
}

Next you can to add the SDK as a dependency. This will contain everything you need in order to load and display banner, interstitial and video ads.

dependencies {
    implementation 'tv.superawesome.sdk.publisher:superawesome:RELEASE-VERSION-NAME'
}
dependencies {
    implementation 'com.android.support:appcompat-v7:+'
    implementation 'com.google.android.gms:play-services-ads:+'
}

Once you’ve added the Android Publisher SDK, you can access all functionality by including:

import tv.superawesome.sdk.publisher.*;