// Created by Jakub Domaszewicz
// Unity builds this Android library module into the player, so Gradle resolves the Aidlab Android SDK and its
// dependencies from Maven Central. The unity.* properties come from the gradle.properties Unity generates.
apply plugin: 'com.android.library'

dependencies {
    // The version of the repository VERSION file, kept in sync by scripts/check-release-versions.sh.
    implementation 'com.aidlab:sdk:2.9.0'
}

android {
    namespace 'com.aidlab.unity'
    compileSdk getProperty('unity.compileSdkVersion') as int
    buildToolsVersion getProperty('unity.buildToolsVersion')

    defaultConfig {
        // The player's; the manifest merge fails below the API 31 the SDK requires.
        minSdk getProperty('unity.minSdkVersion') as int
    }
}
