This repository has been archived by the owner on Jan 1, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
122 lines (110 loc) · 3.38 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
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
}
}
allprojects {
repositories {
mavenCentral()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
flatDir {
dirs 'libs'
}
}
}
apply plugin: 'com.android.application'
File keystoreProperties = rootProject.file("keystore.properties")
def props = new Properties()
if (keystoreProperties.exists()) {
props.load(new FileInputStream(keystoreProperties))
} else {
props['keystorefile'] = 'none';
}
android {
compileSdkVersion 25
buildToolsVersion '25.0.2'
defaultConfig {
minSdkVersion 14
targetSdkVersion 25
versionCode System.getenv("BUILD_NUMBER") as Integer ?: 291
versionName "8.8.1"
}
File keystore = new File(props['keystorefile'])
if (keystore.exists()) {
signingConfigs {
release {
storeFile keystore
storePassword props['keystorepassword']
keyAlias props['keyalias']
keyPassword props['keypassword']
}
debug {
storeFile file("debug.keystore")
storePassword "android"
keyAlias "androiddebugkey"
keyPassword "android"
}
}
buildTypes {
debug {
signingConfig signingConfigs.debug
}
release {
minifyEnabled false
signingConfig signingConfigs.release
}
}
} else {
signingConfigs {
debug {
storeFile file("debug.keystore")
storePassword "android"
keyAlias "androiddebugkey"
keyPassword "android"
}
}
buildTypes {
debug {
signingConfig signingConfigs.debug
}
}
}
lintOptions {
abortOnError false
}
}
dependencies {
compile 'com.android.support:support-v13:25.0.0'
compile 'com.astuetz:pagerslidingtabstrip:1.0.1'
compile 'com.github.castorflex.smoothprogressbar:library:0.5.1'
compile 'com.pushbullet:android-extensions:1.0.4@aar'
compile 'com.klinkerapps:android-smsmms:0.1.3-SNAPSHOT@aar'
compile 'com.klinkerapps:logger:1.0.3'
compile 'com.google.code.gson:gson:2.2.4'
compile 'com.koushikdutta.ion:ion:1.1.7'
compile files('libs/android-vcard.jar')
compile files('libs/dashclock-api-r2.0.jar')
compile files('libs/dropbox-android-sdk-1.5.4.jar')
compile files('libs/httpmime-4.0.3.jar')
compile files('libs/json_simple-1.1.jar')
compile files('libs/jsoup-1.7.2.jar')
compile files('libs/stickygridheaders.jar')
compile(name:'datetimepicker', ext:'aar')
compile(name:'android-photoview', ext:'aar')
compile(name:'CardsUILib', ext:'aar')
compile(name:'fn-extension', ext:'aar')
compile(name:'slidingmenu', ext:'aar')
compile(name:'AppMsg', ext:'aar')
compile(name:'android-ColorPickerPreference', ext:'aar')
compile(name:'MessageBar', ext:'aar')
compile(name:'MultipleImagePick', ext:'aar')
compile(name:'android-lockpattern', ext:'aar')
compile(name:'listviewanimations-2.6.0', ext:'aar')
compile(name:'dragsortlistview', ext:'aar')
}