/
build.gradle
56 lines (45 loc) · 1.41 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
apply plugin: 'com.android.application'
apply plugin: 'com.github.triplet.play'
apply plugin: 'com.getkeepsafe.dexcount'
apply from: '../incrementAndExport.gradle'
play {
serviceAccountEmail = safeGet('PLAY_EMAIL')
pk12File = safeGetFile('PLAY_KEY')
}
loadSecrets()
android {
compileSdkVersion 23
buildToolsVersion "23.0.0"
defaultConfig {
applicationId 'pl.d30.binClock'
minSdkVersion 16
targetSdkVersion 23
versionCode getVersionCode() as Integer
versionName getVersionName() as String
}
signingConfigs {
release {
storeFile safeGetFile('STORE_FILE') as File
storePassword safeGet('STORE_PASSWORD') as String
keyAlias safeGet('KEY_ALIAS') as String
keyPassword safeGet('KEY_PASSWORD', safeGet('STORE_PASSWORD')) as String
}
}
buildTypes {
release {
signingConfig signingConfigs.release as Object
minifyEnabled true
zipAlignEnabled true
shrinkResources true
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
dependencies {
compile 'com.android.support:support-annotations:23.0.0'
compile 'com.anjlab.android.iab.v3:library:1.0.26@aar'
compile 'com.github.chester1000:colorpicker:a61fcca635'
}