-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (42 loc) · 1.12 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
apply plugin: 'android'
apply plugin: 'idea'
repositories {
mavenCentral()
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.14.4'
}
}
dependencies {
compile 'org.kt3k.straw:straw-android:0.7.0', {
exclude group: 'com.google.android'
}
compile 'org.kt3k.straw:straw-android-plugin:0.7.2', {
exclude group: 'com.google.android'
}
}
android {
compileSdkVersion 19
buildToolsVersion '19.1'
if (System.getenv("KEYSTORE") != null) {
// release signing settings
signingConfigs {
release {
// to build release version keystore settings should be set in env variables
storeFile file(System.getenv("KEYSTORE"))
storePassword System.getenv("KEYSTORE_PASSWORD")
keyAlias System.getenv("KEY_ALIAS")
keyPassword System.getenv("KEY_PASSWORD")
}
}
buildTypes {
release {
signingConfig signingConfigs.release
}
}
}
}