-
-
Notifications
You must be signed in to change notification settings - Fork 444
/
build.gradle
143 lines (111 loc) 路 4.27 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
134
135
136
137
138
139
140
141
142
143
apply plugin: 'com.android.application'
apply plugin: 'android-apt'
android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
defaultConfig {
applicationId "openfoodfacts.github.scrachx.openfood"
minSdkVersion 16
targetSdkVersion 25
versionCode 28
versionName "0.5"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary = true
}
}
dexOptions {
incremental = true;
preDexLibraries = false
javaMaxHeapSize "4g"
}
defaultConfig {
multiDexEnabled true
}
lintOptions {
abortOnError false
disable 'MissingTranslation'
}
packagingOptions{
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/notice.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/dependencies.txt'
exclude 'META-INF/LGPL2.1'
}
testOptions {
// avoid "Method ... not mocked."
unitTests.returnDefaultValues = true
}
}
buildscript {
repositories {
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
}
}
apply plugin: 'com.neenbedankt.android-apt'
dependencies {
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:recyclerview-v7:25.1.0'
compile 'com.android.support:cardview-v7:25.1.0'
compile 'com.android.support:customtabs:25.1.0'
compile 'com.android.support:support-v4:25.1.0'
compile 'com.android.support:preference-v14:25.1.0'
compile "com.android.support:design:25.1.0"
compile 'com.android.support:multidex:1.0.1'
compile 'com.jakewharton:butterknife:8.4.0'
apt 'com.jakewharton:butterknife-compiler:8.4.0'
compile 'com.opencsv:opencsv:3.8'
compile 'com.squareup.retrofit2:retrofit:2.0.0-beta4'
compile 'com.squareup.retrofit2:converter-jackson:2.0.0-beta4'
compile 'com.squareup.okhttp3:logging-interceptor:3.3.1'
compile 'com.fasterxml.jackson.core:jackson-core:2.8.3'
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.3'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.8.3'
compile 'commons-validator:commons-validator:1.5.1'
compile 'net.steamcrafted:load-toast:1.0.10'
compile 'me.dm7.barcodescanner:zxing:1.9'
compile 'com.github.chrisbanes:PhotoView:1.3.1'
compile 'org.jsoup:jsoup:1.8.3'
compile 'com.github.satyan:sugar:1.5'
compile('com.afollestad.material-dialogs:core:0.9.2.1') {
transitive = true
}
compile('com.mikepenz:materialdrawer:5.8.1@aar') {
transitive = true
}
compile 'com.mikepenz:fastadapter-commons:2.1.0@aar'
compile 'com.github.clans:fab:1.6.4'
compile 'com.mikepenz:iconics-core:2.5.11@aar'
compile 'com.mikepenz:google-material-typeface:2.2.0.1.original@aar'
compile 'com.mikepenz:material-design-iconic-typeface:2.2.0.1@aar'
compile 'com.mikepenz:fontawesome-typeface:4.6.0.1@aar'
compile 'com.github.jkwiecien:EasyImage:1.4.0'
compile 'com.squareup.picasso:picasso:2.5.2'
// Required for local unit tests (JUnit 4 framework)
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:1.10.19'
testCompile 'net.javacrumbs.json-unit:json-unit-fluent:1.15.0'
// Required for instrumented tests
androidTestCompile 'com.android.support:support-annotations:25.1.0'
androidTestCompile 'com.android.support.test:runner:0.5'
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
androidTestCompile 'com.android.support.test.espresso:espresso-intents:2.2.2'
androidTestCompile 'com.android.support.test.espresso:espresso-web:2.2.2'
androidTestCompile ('com.android.support.test.espresso:espresso-contrib:2.2.2') {
exclude group: 'com.android.support', module: 'appcompat-v7'
exclude group: 'com.android.support', module: 'support-v4'
exclude group: 'com.android.support', module: 'design'
exclude module: 'recyclerview-v7'
}
}