@@ -2,14 +2,14 @@ apply plugin: 'com.android.application'
22apply plugin : ' kotlin-android'
33
44android {
5- compileSdkVersion 30
5+ compileSdkVersion buildConfig . compileSdkVersion
66
77 defaultConfig {
88 applicationId " com.dylanc.loadingstateview.sample.java"
9- minSdkVersion 21
10- targetSdkVersion 30
11- versionCode 2
12- versionName " 1.0.1 "
9+ minSdkVersion buildConfig . minSdkVersion
10+ targetSdkVersion buildConfig . targetSdkVersion
11+ versionCode buildConfig . versionCode
12+ versionName buildConfig . versionName
1313 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1414 }
1515
@@ -33,13 +33,11 @@ android {
3333dependencies {
3434 implementation fileTree(dir : ' libs' , include : [' *.jar' ])
3535 implementation project(' :loadingstateview' )
36- implementation ' androidx.appcompat:appcompat:1.3.1'
37- implementation ' androidx.recyclerview:recyclerview:1.2.1'
38- implementation ' androidx.cardview:cardview:1.0.0'
39- implementation ' com.google.android.material:material:1.4.0'
40- implementation ' androidx.constraintlayout:constraintlayout:2.1.0'
41- implementation ' com.github.bumptech.glide:glide:4.12.0'
42- testImplementation ' junit:junit:4.13.2'
43- androidTestImplementation ' androidx.test.ext:junit:1.1.3'
44- androidTestImplementation ' androidx.test.espresso:espresso-core:3.4.0'
36+ implementation " androidx.appcompat:appcompat:$appCompatVersion "
37+ implementation " androidx.constraintlayout:constraintlayout:$constraintLayoutVersion "
38+ implementation " com.google.android.material:material:$materialVersion "
39+ implementation " com.github.bumptech.glide:glide:$glideVersion "
40+ testImplementation " junit:junit:$junitVersion "
41+ androidTestImplementation " androidx.test.ext:junit:$junitExtVersion "
42+ androidTestImplementation " androidx.test.espresso:espresso-core:$espressoVersion "
4543}
0 commit comments