/*
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */

apply plugin: 'com.android.library'

android {
    namespace "com.microsoft.appcenter.reactnative.analytics"
    compileSdkVersion rootProject.properties.get('compileSdkVersion', 29)
    buildToolsVersion rootProject.properties.get('buildToolsVersion', '29.0.2')

    defaultConfig {
        minSdkVersion 21
        targetSdkVersion rootProject.properties.get('targetSdkVersion', 29)
        versionCode 69
        versionName '5.0.3'
        ndk {
            abiFilters 'armeabi-v7a', 'x86'
        }
    }
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    //noinspection GradleDynamicVersion
    implementation 'com.facebook.react:react-native:+'
    api 'com.microsoft.appcenter:appcenter-analytics:5.0.6'
    // For testing with TestApp
    // api files('../../../../AppCenterReactNativeShared/android/build/outputs/aar/appcenter-react-native-release.aar')
    api 'com.microsoft.appcenter.reactnative:appcenter-react-native:5.0.3'
}
