1
1
apply plugin : ' com.android.application'
2
2
3
+ ext. versionMajor = 11
4
+ ext. versionMinor = 0
5
+ ext. versionPatch = 0
6
+
7
+ ext. minimumSdkVersion = 17
8
+ ext. supportLibrariesVersion = ' 25.3.1'
9
+
3
10
android {
4
11
compileSdkVersion 25
5
- buildToolsVersion ' 25.0.1 '
12
+ buildToolsVersion ' 25.0.2 '
6
13
7
14
defaultConfig {
8
15
applicationId " com.sidzi.circleofmusic"
9
- minSdkVersion 17
16
+ minSdkVersion project . ext . minimumSdkVersion
10
17
targetSdkVersion 25
11
- versionCode 10
12
- versionName " Igil "
18
+ versionCode generateVersionCode()
19
+ versionName " Keyboard "
13
20
}
14
21
15
22
buildTypes {
@@ -21,16 +28,20 @@ android {
21
28
}
22
29
}
23
30
31
+ private Integer generateVersionCode () {
32
+ return ext. minimumSdkVersion * 10000000 + ext. versionMajor * 10000 + ext. versionMinor * 100 + ext. versionPatch
33
+ }
34
+
24
35
25
36
dependencies {
26
37
compile ' com.android.volley:volley:1.0.0'
27
38
compile ' net.gotev:uploadservice:3.1'
28
39
compile ' com.j256.ormlite:ormlite-android:5.0'
29
40
compile ' com.j256.ormlite:ormlite-core:5.0'
30
41
compile ' com.rollbar:rollbar-android:0.2.0'
31
- compile ' com.android.support:appcompat-v7:25.1.0 '
32
- compile ' com.android.support:support-v13:25.1.0 '
33
- compile ' com.android.support:design:25.1.0 '
34
- compile ' com.android.support:recyclerview-v7:25.1.0 '
35
- compile ' com.android.support:support-v4:25.1.0 '
36
- }
42
+ compile " com.android.support:appcompat-v7:$s upportLibrariesVersion "
43
+ compile " com.android.support:support-v13:$s upportLibrariesVersion "
44
+ compile " com.android.support:design:$s upportLibrariesVersion "
45
+ compile " com.android.support:recyclerview-v7:$s upportLibrariesVersion "
46
+ compile " com.android.support:support-v4:$s upportLibrariesVersion "
47
+ }
0 commit comments