dependencies.gradle 2.4 KB
Newer Older
S
shuyu 已提交
1 2 3 4 5 6 7 8 9
allprojects {
    repositories {
        jcenter()
    }
}

ext {
    //Android
    androidBuildToolsVersion = "23.0.1"
S
1.2.4  
shuyu 已提交
10
    androidMinSdkVersion = 16
S
shuyu 已提交
11 12 13 14 15 16 17 18
    androidTargetSdkVersion = 22
    androidCompileSdkVersion = 22
    supportLibraryVersion = '24.2.0'
    otherLibraryVersion = '22.2.1'

    //ViewLibraries
    butterKnifeVersion = '8.2.1'

S
shuyu 已提交
19
    ijkplayer = '0.8.2'
S
shuyu 已提交
20
    DanmakuFlameMaster = '0.6.4'
S
shuyu 已提交
21

S
1.2.4  
shuyu 已提交
22 23
    transitionseverywhere = '1.7.0'

S
shuyu 已提交
24
    //DataLibraries
S
shuyu 已提交
25
    videocache = '2.7.0'
S
1.3.3  
shuyu 已提交
26
    leakcanary = '1.5'
S
shuyu 已提交
27 28 29 30 31 32 33 34 35 36

    androidDependencies = [
            recyclerView: "com.android.support:recyclerview-v7:${supportLibraryVersion}",
            appcompat_v7: "com.android.support:appcompat-v7:${otherLibraryVersion}",
            cardview_v7 : "com.android.support:cardview-v7:23.2.0",
            support_v4  : "com.android.support:support-v4:${supportLibraryVersion}",
            design      : "com.android.support:design:${otherLibraryVersion}",
    ]

    viewDependencies = [
S
1.2.4  
shuyu 已提交
37 38 39 40 41 42 43 44 45 46
            butterKnife          : "com.jakewharton:butterknife:${butterKnifeVersion}",
            apt_butterKnife      : "com.jakewharton:butterknife-compiler:${butterKnifeVersion}",
            ijkplayer_java       : "tv.danmaku.ijk.media:ijkplayer-java:${ijkplayer}",
            ijkplayer_armv7a     : "tv.danmaku.ijk.media:ijkplayer-armv7a:${ijkplayer}",
            ijkplayer_armv5      : "tv.danmaku.ijk.media:ijkplayer-armv5:${ijkplayer}",
            ijkplayer_arm64      : "tv.danmaku.ijk.media:ijkplayer-arm64:${ijkplayer}",
            ijkplayer_x86_64     : "tv.danmaku.ijk.media:ijkplayer-x86_64:${ijkplayer}",
            ijkplayer_x86        : "tv.danmaku.ijk.media:ijkplayer-x86:${ijkplayer}",
            ijkplayer_exo        : "tv.danmaku.ijk.media:ijkplayer-exo:${ijkplayer}",
            transitionseverywhere: "com.andkulikov:transitionseverywhere:${transitionseverywhere}",
S
shuyu 已提交
47 48 49 50
            DanmakuFlameMaster   : "com.github.ctiao:DanmakuFlameMaster:${DanmakuFlameMaster}",
            ndkbitmap_armv7a     : "com.github.ctiao:ndkbitmap-armv7a:${DanmakuFlameMaster}",
            ndkbitmap_armv5      : "com.github.ctiao:ndkbitmap-armv5:${DanmakuFlameMaster}",
            ndkbitmap_x86        : "com.github.ctiao:ndkbitmap-x86:${DanmakuFlameMaster}",
S
shuyu 已提交
51 52 53
    ]

    dataDependencies = [
S
1.2.3  
shuyu 已提交
54
            videocache: "com.danikula:videocache:${videocache}",
S
1.3.3  
shuyu 已提交
55
            leakcanary: "com.squareup.leakcanary:leakcanary-android:${leakcanary}",
S
shuyu 已提交
56 57
    ]
}