apply plugin: 'com.android.library'

android {
    compileSdkVersion 25
    buildToolsVersion '25.0.0'

    defaultConfig {
        minSdkVersion 21
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"
        ndk {
            abiFilters "armeabi", "armeabi-v7a"
// 如果您使⽤用的是商业版，只能使⽤用 armeabi 架构，即：
// abiFilters "armeabi",
        }
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

//    sourceSets.main {
//        jniLibs.srcDirs = ['jniLibs']
//    }
}

//allprojects {
//repositories {
//    flatDir {
//        dirs '../node_modules/react-native-omplayer/android/libs/','libs'
//    }
//}
//}
dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar, *.aar'])
//    compile fileTree(dir: 'src/main/jniLibs', includes: ['*.jar'])
    compile 'com.facebook.react:react-native:+'
    compile 'com.yqritc:android-scalablevideoview:1.0.1'
//    compile files('libs/LiteAVSDK_Player.aar','libs/lib_tcsuperplayer.aar')
    compile(name: 'LiteAVSDK_Player', ext: 'aar')
//    compile(name: 'LiteAVSDK_Player_6.5.7272', ext: 'aar')
    compile(name: 'lib_tcsuperplayer', ext: 'aar')
    // 超级播放器弹幕集成的第三方库
    compile 'com.github.ctiao:DanmakuFlameMaster:0.5.3'
}

