@@ -12,26 +12,24 @@ dependencies {
12
12
compile ' ch.acra:acra:4.7.0'
13
13
compile ' org.mediawiki:api:1.3'
14
14
compile ' commons-codec:commons-codec:1.10'
15
- compile ' com.android.support:support-v4:25.2.0'
16
- compile ' com.android.support:appcompat-v7:25.2.0'
17
- compile ' com.android.support:design:25.2.0'
15
+ compile " com.android.support:support-v4:${ project.supportLibVersion} "
16
+ compile " com.android.support:appcompat-v7:${ project.supportLibVersion} "
17
+ compile " com.android.support:design:${ project.supportLibVersion} "
18
+ compile ' com.google.code.gson:gson:2.7'
18
19
19
20
testCompile ' junit:junit:4.12'
20
-
21
- // noinspection GradleDependency - old version has required feature
22
- compile ' com.google.code.gson:gson:1.4'
23
21
}
24
22
25
23
android {
26
- compileSdkVersion 25
27
- buildToolsVersion ' 25.0.1 '
24
+ compileSdkVersion project . compileSdkVersion
25
+ buildToolsVersion project . buildToolsVersion
28
26
29
- useLibrary ' org.apache.http.legacy'
27
+ useLibrary ' org.apache.http.legacy'
30
28
31
29
defaultConfig {
32
- applicationId " fr.free.nrw.commons"
33
- minSdkVersion 15
34
- targetSdkVersion 25
30
+ applicationId ' fr.free.nrw.commons'
31
+ minSdkVersion project . minSdkVersion
32
+ targetSdkVersion project . targetSdkVersion
35
33
}
36
34
37
35
buildTypes {
@@ -46,4 +44,4 @@ android {
46
44
disable ' ExtraTranslation'
47
45
abortOnError false
48
46
}
49
- }
47
+ }
0 commit comments