build.gradle
2.93 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion '26.0.2'
defaultConfig {
applicationId "com.dinhcv.lifelogpedometer"
minSdkVersion 19
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
// Enabling multidex support.
multiDexEnabled true
}
flavorDimensions "default"
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
signingConfigs {
dev {
storeFile file("../keystores/...")
storePassword 'android'
keyAlias 'androiddebugkey'
keyPassword 'android'
}
product {
storeFile file("..keystores/...")
storePassword 'android'
keyAlias 'androiddebugkey'
keyPassword 'android'
}
}
productFlavors {
dev {
applicationId "com.dinhcv.lifelogpedometer"
applicationIdSuffix "dev"
minSdkVersion 19
buildConfigField 'String', 'BASE_URL', '"http://clover.timesfun.jp:9001/"'
}
product {
applicationId "com.dinhcv.lifelogpedometer"
minSdkVersion 19
buildConfigField 'String', 'BASE_URL', '"http://clover.timesfun.jp:9001/"'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
// Retrofit
// JSON Parsing
compile 'com.squareup.retrofit2:converter-gson:2.1.0'
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.github.j4velin.colorpicker:colorpicker:1.2.3'
compile 'com.github.j4velin.EazeGraph:EazeGraph:1.0.2'
compile 'com.google.android.apps.dashclock:dashclock-api:2.0.0'
compile 'com.android.support:design:25.3.1'
compile 'com.github.PhilJay:MPAndroidChart:v3.0.2'
compile 'com.google.android.gms:play-services:11.0.4'
compile 'com.google.code.gson:gson:2.7'
compile 'com.squareup.retrofit2:converter-gson:2.1.0'
compile 'de.hdodenhof:circleimageview:2.1.0'
compile 'com.jakewharton:butterknife:8.6.0'
testCompile 'junit:junit:4.12'
// Retrofit
compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'de.hdodenhof:circleimageview:2.1.0'
compile 'com.jakewharton:butterknife:8.6.0'
compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.android.support:support-v4:25.3.1'
testCompile 'junit:junit:4.12'
compile 'com.android.support:multidex:1.0.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'
}