-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
49 lines (42 loc) · 1005 Bytes
/
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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.9.2'
}
}
apply plugin: 'android'
android {
buildToolsVersion "19.0.3"
compileSdkVersion 19
defaultConfig {
minSdkVersion 16
versionCode 2
versionName "1.0.1"
}
lintOptions {
abortOnError false
}
signingConfigs {
release {
Properties props = new Properties()
props.load(new FileInputStream("${project.rootDir}/credentials.properties"))
storeFile file("my-release-key.keystore")
storePassword props["apkPassword"]
keyAlias "alias_name"
keyPassword props["apkPassword"]
}
buildTypes {
release {
signingConfig signingConfigs.release
}
}
}
}
repositories {
mavenCentral()
}
dependencies {
compile "joda-time:joda-time:2.3"
}