-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathbuild.gradle
69 lines (62 loc) · 1.76 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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.14.0'
}
}
apply plugin: 'com.android.application'
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
compile 'com.android.support:support-v4:21.0.0'
compile 'com.android.support:appcompat-v7:21.0.0'
compile 'com.google.code.gson:gson:2.3'
compile('ch.acra:acra:4.5.0') {
exclude group: 'org.json'
}
compile('org.shredzone.flattr4j:flattr4j-core:2.11') {
exclude group: 'org.json'
exclude group: 'org.apache.httpcomponents'
}
compile 'com.google.code.findbugs:jsr305:3.0.0'
}
Properties props = new Properties()
if (new File("signing.properties").exists()) {
props.load(new FileInputStream(file("signing.properties")))
}
android {
repositories {
mavenCentral()
}
compileSdkVersion 21
buildToolsVersion "21.1"
signingConfigs {
release {
if (new File("signing.properties").exists()) {
storeFile file(props['signing.release.keyStore'])
storePassword props['signing.release.storePassword']
keyAlias props['signing.release.keyAlias']
keyPassword props['signing.release.keyPassword']
}
}
}
defaultConfig {
applicationId 'com.axelby.podax'
minSdkVersion 9
targetSdkVersion 21
versionCode 65
versionName '7.08'
}
sourceSets.main {
jni.srcDirs = []
jniLibs.srcDir 'src/main/libs'
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), './proguard.cfg'
signingConfig signingConfigs.release
}
}
}