forked from vincentbrison/vb-android-app-quality
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
59 lines (51 loc) · 1.65 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
apply plugin: 'com.android.application'
apply from: '../config/quality.gradle'
android {
compileSdkVersion 21
buildToolsVersion '21.1.2'
defaultConfig {
minSdkVersion 14
targetSdkVersion 21
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
packagingOptions {
exclude 'LICENSE.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/ASL2.0'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
}
productFlavors {
red {
applicationId 'vb.android.app.quality.red'
}
blue {
applicationId 'vb.android.app.quality.blue'
}
}
}
repositories {
flatDir {
dirs 'libs'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile 'com.jayway.android.robotium:robotium-solo:5.2.1' // for UI tests
androidTestCompile 'com.android.support.test:testing-support-lib:0.1' // for Unit Tests
androidTestCompile('com.google.truth:truth:0.25') { // Google's fluent assertion library
exclude group: 'junit' // Android has JUnit built in
}
androidTestCompile 'com.google.dexmaker:dexmaker:1.0' // required by Mockito
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.0' // required by Mockito
androidTestCompile 'org.mockito:mockito-core:1.9.5' // for creating mocks
}