/
build.gradle
133 lines (124 loc) · 4.77 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
apply plugin: 'com.android.application'
apply plugin: 'realm-android'
apply plugin: 'io.fabric'
repositories {
maven { url 'https://maven.fabric.io/public' }
}
android {
compileSdkVersion 23
buildToolsVersion '23.0.3'
useLibrary 'org.apache.http.legacy'
defaultConfig {
applicationId "com.videonasocialmedia.videona"
minSdkVersion 18
targetSdkVersion 23
versionCode 110 // 21/11/2016
// Enabling multidex support.
multiDexEnabled true
}
productFlavors {
alpha {
// applicationId "com.videonasocialmedia.videona.alpha"
versionName "1.1-rc19-beta"
resValue "string", "app_name", "Videona-alpha"
}
stable {
// applicationId "com.videonasocialmedia.videona.stable"
versionName "1.0.22"
resValue "string", "app_name", "Videona-stable"
}
}
buildTypes {
release {
resValue "string", "app_name", "Videona"
buildConfigField "String", "MIXPANEL_TOKEN", "\"985b2aeb535dbc92b81fb5cce7ad1212\""
//buildConfigField "String", "API_BASE_URL", "\"http://videona.com/api/\""
buildConfigField "String", "API_BASE_URL", "\"http://api.videona.com/api/v1/\""
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
buildConfigField "String", "MIXPANEL_TOKEN", "\"c6617213110cd2513dfc0ad97dbaee66\""
buildConfigField "String", "API_BASE_URL", "\"http://api.videona.com/api/v1/\""
}
}
packagingOptions {
exclude 'LICENSE.txt'
}
dexOptions {
incremental true
javaMaxHeapSize "2048M"
}
lintOptions {
disable 'MissingTranslation'
abortOnError false
}
}
dependencies {
testCompile 'org.hamcrest:hamcrest-library:1.3'
testCompile 'org.hamcrest:hamcrest-core:1.3'
testCompile('junit:junit:4.12') {
exclude group: "org.hamcrest"
}
testCompile('org.mockito:mockito-core:1.10.19') {
exclude group: "org.hamcrest"
}
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':androidtranscoder')
compile project(':muxer')
compile project(':avrecorder')
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:multidex:1.0.1'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'
compile 'com.android.support:support-v13:23.4.0'
compile 'com.github.bumptech.glide:glide:3.6.0'
compile 'com.googlecode.mp4parser:isoparser:1.0.5.4'
compile 'com.jakewharton:butterknife:7.0.1'
compile 'com.squareup.okhttp3:okhttp:3.3.1'
compile 'com.squareup.retrofit2:retrofit:2.0.2'
compile 'com.squareup.retrofit2:converter-gson:2.0.2'
compile 'de.greenrobot:eventbus:2.4.0'
compile 'com.mixpanel.android:mixpanel-android:4.6.4'
compile 'com.google.android.gms:play-services-identity:9.0.2'
compile 'com.google.android.gms:play-services-gcm:9.0.2'
compile 'com.google.android.gms:play-services-analytics:9.0.2'
compile 'com.android.support:design:23.4.0'
compile 'com.github.paolorotolo:appintro:3.3.0'
compile 'com.getbase:floatingactionbutton:1.10.1'
compile 'com.karumi:dexter:2.2.2'
compile 'io.realm:android-adapters:1.3.0'
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-beta2'
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta2'
androidTestCompile 'org.hamcrest:hamcrest-library:1.3'
androidTestCompile 'org.hamcrest:hamcrest-core:1.3'
androidTestCompile('junit:junit:4.12') {
exclude group: "org.hamcrest"
}
androidTestCompile('org.mockito:mockito-core:1.10.19') {
exclude group: "org.hamcrest"
}
androidTestCompile 'com.google.dexmaker:dexmaker:1.2'
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2'
testCompile 'org.robolectric:robolectric:3.0'
testCompile 'org.powermock:powermock-api-mockito:1.6.4'
testCompile 'org.powermock:powermock-module-junit4-rule-agent:1.6.4'
testCompile 'org.powermock:powermock-module-junit4-rule:1.6.4'
testCompile 'org.powermock:powermock-module-junit4:1.6.4'
testCompile 'org.json:json:20140107'
testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta2'
testCompile 'com.squareup.okhttp3:mockwebserver:3.3.1'
testCompile 'org.hamcrest:hamcrest-library:1.3'
testCompile 'org.hamcrest:hamcrest-core:1.3'
compile('com.crashlytics.sdk.android:crashlytics:2.6.1@aar') {
transitive = true;
}
}