/
build.gradle
84 lines (72 loc) · 2.56 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "24.0.2"
defaultConfig {
applicationId "news.androidtv.tvapprepo"
minSdkVersion 21
targetSdkVersion 25
versionCode 17
versionName "1.1.4"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
signingConfigs {
debug {
}
}
productFlavors {
opencommunity {
}
playstore {
applicationIdSuffix '.playstore'
versionNameSuffix '-playstore'
}
}
}
buildscript {
repositories {
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.22.0'
}
}
apply plugin: 'io.fabric'
repositories {
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
}
ext {
supportLibrary = '25.3.1'
googlePlayServices = '11.2.0'
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile "com.android.support:recyclerview-v7:$project.ext.supportLibrary"
compile "com.android.support:leanback-v17:$project.ext.supportLibrary"
compile "com.android.support:preference-leanback-v17:$project.ext.supportLibrary"
compile "com.android.support:appcompat-v7:$project.ext.supportLibrary"
compile "com.android.support:palette-v7:$project.ext.supportLibrary"
compile "com.google.firebase:firebase-database:$project.ext.googlePlayServices"
compile "com.google.android.gms:play-services-ads:$project.ext.googlePlayServices"
compile "com.google.firebase:firebase-config:$project.ext.googlePlayServices"
compile "com.google.firebase:firebase-ads:$project.ext.googlePlayServices"
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.afollestad.material-dialogs:core:0.9.0.2'
compile 'com.android.volley:volley:1.0.0'
compile('com.crashlytics.sdk.android:crashlytics:2.6.5@aar') {
transitive = true;
}
androidTestCompile 'com.android.support:support-annotations:25.3.1'
androidTestCompile 'com.android.support.test:runner:0.5'
androidTestCompile 'com.android.support.test:rules:0.5'
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
}
apply plugin: 'com.google.gms.google-services'