@@ -2,21 +2,19 @@ apply plugin: 'com.android.library'
22apply plugin : ' com.github.dcendents.android-maven'
33apply plugin : ' com.jfrog.bintray'
44
5- version = " 0.0.4"
6- group = " com.dvsnier"
7-
85def siteUrl = ' https://github.com/DovSnier/cacheKit'
96def gitUrl = ' git@github.com:DovSnier/cacheKit.git'
107
118android {
12- compileSdkVersion 25
13- buildToolsVersion " 25.0.2"
9+
10+ compileSdkVersion rootProject. ext. compile_sdk_version
11+ buildToolsVersion rootProject. ext. build_tools_version
1412
1513 defaultConfig {
16- minSdkVersion 10
17- targetSdkVersion 26
18- versionCode 4
19- versionName version
14+ minSdkVersion rootProject . ext . min_sdk_version
15+ targetSdkVersion rootProject . ext . target_sdk_version
16+ versionCode rootProject . ext . version_code
17+ versionName rootProject . ext . version_name
2018
2119 testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
2220
@@ -31,11 +29,12 @@ android {
3129
3230dependencies {
3331 compile fileTree(include : [' *.jar' ], dir : ' libs' )
34- androidTestCompile(' com.android.support.test.espresso:espresso-core:2.2.2 ' , {
32+ androidTestCompile(" com.android.support.test.espresso:espresso-core:${ rootProject.ext.espresso_core_version } " , {
3533 exclude group : ' com.android.support' , module : ' support-annotations'
3634 })
37- testCompile ' junit:junit:4.12'
38- compile ' com.android.support:support-compat:24.2.0'
35+ testCompile " junit:junit:${ rootProject.ext.junit_version} "
36+ // noinspection GradleDependency
37+ compile " com.android.support:support-compat:${ rootProject.ext.support_appcompat_version} "
3938}
4039
4140install {
@@ -58,7 +57,7 @@ install {
5857 developer {
5958 id ' dovsnier'
6059 name ' dovsnier'
61- email ' 3086722095 @qq.com'
60+ email ' dovsnier @qq.com'
6261 }
6362 }
6463
0 commit comments