build.gradle 1.7 KB
Newer Older
S
shuyu 已提交
1
apply plugin: 'com.android.library'
S
shuyu 已提交
2

S
shuyu 已提交
3 4 5 6 7 8 9 10
android {

    def globalConfiguration = rootProject.extensions.getByName("ext")
    compileSdkVersion globalConfiguration.androidCompileSdkVersion
    buildToolsVersion globalConfiguration.androidBuildToolsVersion

    defaultConfig {

S
shuyu 已提交
11
        minSdkVersion globalConfiguration.androidMinSdkVersion
S
shuyu 已提交
12 13 14 15 16 17 18 19 20 21 22 23
        targetSdkVersion globalConfiguration.androidTargetSdkVersion

        versionCode 1
        versionName "1.0"

    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
S
shuyu 已提交
24 25 26 27 28
    sourceSets {
        main {
            jniLibs.srcDirs = ['libs']
        }
    }
S
shuyu 已提交
29 30 31 32
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
33

G
guoshuyu 已提交
34
    compile project(':gsyVideoPlayer-java')
S
shuyu 已提交
35 36 37 38 39
    //compile project(':gsyVideoPlayer-armv5')
    //compile project(':gsyVideoPlayer-armv7a')
    //compile project(':gsyVideoPlayer-armv64')
    //compile project(':gsyVideoPlayer-x86')
    //compile project(':gsyVideoPlayer-x86_64')
40

S
shuyu 已提交
41
    //更多配置版so,增加了concat,rtsp,mpeg,crypto
S
shuyu 已提交
42
    //compile project(':gsyVideoPlayer-ex_so')
43

G
guoshuyu 已提交
44
    //compile "com.shuyu:gsyVideoPlayer-java:$gsyVideoVersion"
45

G
guoshuyu 已提交
46 47 48 49 50
    compile "com.shuyu:gsyVideoPlayer-armv5:$gsyVideoVersion"
    compile "com.shuyu:gsyVideoPlayer-armv7a:$gsyVideoVersion"
    compile "com.shuyu:gsyVideoPlayer-arm64:$gsyVideoVersion"
    compile "com.shuyu:gsyVideoPlayer-x64:$gsyVideoVersion"
    compile "com.shuyu:gsyVideoPlayer-x86:$gsyVideoVersion"
S
shuyu 已提交
51 52

    //更多配置版so,增加了concat,rtsp,mpeg,crypto
G
guoshuyu 已提交
53
    //compile "com.shuyu:gsyVideoPlayer-ex_so:$gsyVideoVersion"
S
shuyu 已提交
54
}
S
shuyu 已提交
55

56
apply from: './bintray.gradle'