apply plugin: 'com.android.library'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.1"

    defaultConfig {
        minSdkVersion 16
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"


    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    sourceSets.main {
        jniLibs.srcDirs 'src/main/libs'
    }

    copy {
        from "build/intermediates/exploded-aar/com.tencent.mars/mars-xlog/${MARS_XLOG_VERSION_NAME}${MARS_XLOG_VERSION_NAME_SUFFIX}/jni/armeabi/"
        into "src/main/libs/armeabi-v7a"
    }
}

dependencies {
    compile fileTree(dir: "libs", include: ["*.jar"])
    compile "com.android.support:appcompat-v7:23.0.1"
    compile "com.facebook.react:react-native:+"  // From node_modules

    compile "com.tencent.mars:mars-xlog:${MARS_XLOG_VERSION_NAME}${MARS_XLOG_VERSION_NAME_SUFFIX}"
}
