forked from shlusiak/Freebloks-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
71 lines (64 loc) · 1.62 KB
/
build.gradle
File metadata and controls
71 lines (64 loc) · 1.62 KB
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
70
71
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
}
}
repositories {
jcenter()
}
apply plugin: 'com.android.application'
dependencies {
compile 'com.github.clans:fab:1.6.4'
compile 'com.google.android.gms:play-services-games:11.0.2'
compile 'com.google.android.gms:play-services-plus:11.0.2'
}
android {
compileSdkVersion 26
buildToolsVersion '26.0.0'
defaultConfig {
minSdkVersion 14
targetSdkVersion 26
versionCode 72
versionName "1.0.2"
}
flavorDimensions 'app', 'store'
productFlavors {
standard {
dimension 'app'
applicationId 'de.saschahlusiak.freebloks'
}
vip {
dimension 'app'
applicationId 'de.saschahlusiak.freebloksvip'
}
Google {
dimension 'store'
buildConfigField 'boolean', 'IS_AMAZON', 'false'
}
Amazon {
dimension 'store'
buildConfigField 'boolean', 'IS_AMAZON', 'true'
}
}
externalNativeBuild {
ndkBuild {
path "jni/Android.mk"
}
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
}