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
|
/*
* Copyright (C) 2015-2016 Daniel Schaal <daniel@schaal.email>
*
* This file is part of OCReader.
*
* OCReader is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* OCReader is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with OCReader. If not, see <http://www.gnu.org/licenses/>.
*
*/
apply plugin: 'com.android.application'
apply plugin: 'realm-android'
apply plugin: 'com.jakewharton.hugo'
android {
compileSdkVersion 26
buildToolsVersion "26.0.0"
dataBinding.enabled = true
defaultConfig {
applicationId "email.schaal.ocreader"
minSdkVersion 16
targetSdkVersion 26
versionCode 40
versionName "0.37"
archivesBaseName="${getApplicationId()}_${getVersionCode()}"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
debug {
applicationIdSuffix ".debug"
}
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
disable 'MissingTranslation'
}
}
ext {
versions = [
supportLib: '26.0.0',
okhttp: '3.8.1',
retrofit: '2.3.0',
glide: '4.0.0'
]
}
dependencies {
compile "com.android.support:support-compat:${versions.supportLib}"
compile "com.android.support:support-core-ui:${versions.supportLib}"
compile "com.android.support:appcompat-v7:${versions.supportLib}"
compile "com.android.support:cardview-v7:${versions.supportLib}"
compile "com.android.support:recyclerview-v7:${versions.supportLib}"
compile "com.android.support:design:${versions.supportLib}"
compile "com.android.support:palette-v7:${versions.supportLib}"
compile "com.android.support:support-v13:${versions.supportLib}"
compile 'com.google.guava:guava:20.0'
compile('com.mikepenz:materialdrawer:5.9.5@aar') {
transitive = true
}
compile('com.mikepenz:aboutlibraries:5.9.6@aar') {
transitive = true
}
compile 'io.realm:android-adapters:2.1.0'
compile 'org.jsoup:jsoup:1.10.3'
compile "com.squareup.okhttp3:okhttp:${versions.okhttp}"
compile "com.squareup.retrofit2:retrofit:${versions.retrofit}"
compile "com.squareup.retrofit2:converter-moshi:${versions.retrofit}"
compile "com.github.bumptech.glide:glide:${versions.glide}"
compile "com.github.bumptech.glide:okhttp3-integration:${versions.glide}"
compile "com.github.bumptech.glide:recyclerview-integration:${versions.glide}"
annotationProcessor "com.github.bumptech.glide:compiler:${versions.glide}"
compile 'com.github.zafarkhaja:java-semver:0.9.0'
releaseCompile 'ch.acra:acra:4.9.2'
compile('com.vdurmont:emoji-java:3.3.0', {
exclude group: 'org.json', module: 'json'
})
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
androidTestCompile "com.squareup.okhttp3:mockwebserver:${versions.okhttp}"
testCompile 'org.robolectric:robolectric:3.4'
testCompile 'junit:junit:4.12'
}
|