-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
112 lines (101 loc) · 3.75 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
apply plugin: 'idea'
idea{
module {
downloadJavadoc = true
downloadSources = true
}
}
apply plugin: 'com.android.application'
android {
signingConfigs {
release {
keyAlias prod_key_alias
keyPassword prod_key_password
storeFile file(prod_store_path)
storePassword prod_store_password
}
stage {
keyAlias stage_key_alias
keyPassword stage_key_password
storeFile file(stage_store_path)
storePassword stage_store_password
}
debug {
keyAlias debug_key_alias
keyPassword debug_key_password
storeFile file(debug_store_path)
storePassword debug_store_password
}
}
compileSdkVersion 25
buildToolsVersion "25.0.0"
defaultConfig {
applicationId "madson.org.opentournament"
minSdkVersion 16
targetSdkVersion 25
versionCode 31
versionName "0.5.4-ALPHA"
testInstrumentationRunner "android.support.down.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
buildTypes {
debug {
debuggable true
minifyEnabled false
signingConfig signingConfigs.debug;
buildConfigField 'String', 'ENVIRONMENT', '"DEV"';
resValue "string", "facebook_app_id", facebook_app_id
resValue "string", "fb_login_protocol_scheme", fb_login_protocol_scheme
}
stage {
debuggable true
minifyEnabled false
signingConfig signingConfigs.stage;
buildConfigField 'String', 'ENVIRONMENT', '"STAGE"';
resValue "string", "facebook_app_id", facebook_app_id
resValue "string", "fb_login_protocol_scheme", fb_login_protocol_scheme
}
release {
debuggable false
minifyEnabled false
signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
buildConfigField 'String', 'ENVIRONMENT', '"PROD"';
resValue "string", "facebook_app_id", facebook_app_id
resValue "string", "fb_login_protocol_scheme", fb_login_protocol_scheme
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:25.0.0'
compile 'com.android.support:design:25.0.0'
compile 'com.android.support:support-v4:25.0.0'
compile 'com.android.support:recyclerview-v7:25.0.0'
compile 'com.android.support:cardview-v7:25.0.0'
compile 'net.danlew:android.joda:2.9.4.1'
compile 'de.hdodenhof:circleimageview:2.1.0'
compile 'com.github.bumptech.glide:glide:3.6.1'
androidTestCompile 'com.android.support:support-annotations:25.0.0'
androidTestCompile 'com.android.support.test:runner:0.5'
androidTestCompile 'com.android.support.test:rules:0.5'
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
androidTestCompile 'com.android.support.test.espresso:espresso-intents:2.2.2'
androidTestCompile('com.android.support.test.espresso:espresso-contrib:2.2.2') {
exclude group: 'com.android.support'
}
// Google
compile 'com.google.android.gms:play-services-auth:9.8.0'
// Firebase
compile 'com.google.firebase:firebase-database:9.8.0'
compile 'com.google.firebase:firebase-auth:9.8.0'
// Firebase UI
compile 'com.firebaseui:firebase-ui-database:0.6.2'
// facebook
compile 'com.facebook.android:facebook-android-sdk:4.16.1'
}
apply plugin: 'com.google.gms.google-services'