-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
69 lines (60 loc) · 1.81 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.+'
}
}
allprojects {
repositories {
mavenCentral()
}
}
apply plugin: 'com.android.application'
android {
compileSdkVersion 319
buildToolsVersion '20.0.0'
defaultConfig {
minSdkVersion 19
targetSdkVersion 319
}
signingConfigs {
release {
def Properties localProps = new Properties()
localProps.load(new FileInputStream(file('local.properties')))
def Properties keyProps = new Properties()
assert localProps['keystore.props.file'];
keyProps.load(new FileInputStream(file(localProps['keystore.props.file'])))
storeFile file(keyProps["store"])
keyAlias keyProps["alias"]
storePassword keyProps["storePass"]
keyPassword keyProps["pass"]
}
}
buildTypes {
release {
runProguard true
signingConfig signingConfigs.release
proguardFile 'src/main/proguard.flags'
zipAlign true
}
debug {
runProguard false
signingConfig signingConfigs.release
proguardFile 'src/main/proguard.flags'
zipAlign false
}
}
lintOptions {
disable 'HardcodedDebugMode', 'ValidFragment', 'MissingTranslation', 'ExtraTranslation'
}
}
dependencies {
compile 'com.android.support:support-v13:19.+'
compile 'com.google.android.apps.dashclock:dashclock-api:+'
compile 'com.jakewharton:butterknife:5.+'
compile 'com.koushikdutta.ion:ion:1.2.7'
compile 'de.keyboardsurfer.android.widget:crouton:1.+'
}