@@ -9,12 +9,40 @@ android {
99 targetSdkVersion rootProject. ext. targetSdkVersion
1010 versionCode 3
1111 versionName " 1.0.2"
12- testInstrumentationRunner " android.support .test.runner.AndroidJUnitRunner"
12+ testInstrumentationRunner " androidx .test.runner.AndroidJUnitRunner"
1313 }
14+
15+ signingConfigs {
16+ debug {
17+ storeFile file(' android.keystore' )
18+ storePassword " 123456"
19+ keyAlias " AppbarLayoutBehavior"
20+ keyPassword " 123456"
21+ v1SigningEnabled true
22+ v2SigningEnabled true
23+ }
24+
25+ release {
26+ storeFile file(' android.keystore' )
27+ storePassword " 123456"
28+ keyAlias " AppbarLayoutBehavior"
29+ keyPassword " 123456"
30+ v1SigningEnabled true
31+ v2SigningEnabled true
32+ }
33+ }
34+
1435 buildTypes {
36+ debug {
37+ signingConfig signingConfigs. debug
38+ ext. enableCrashlytics = false
39+ }
1540 release {
16- minifyEnabled false
41+ shrinkResources true
42+ zipAlignEnabled true
43+ minifyEnabled true
1744 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
45+ signingConfig signingConfigs. release
1846 }
1947 }
2048
@@ -26,17 +54,17 @@ android {
2654
2755dependencies {
2856 implementation fileTree(dir : ' libs' , include : [' *.jar' ])
29- implementation " com.android.support :appcompat-v7: $a ndroidSupportVersion "
30- implementation " com.android.support:design: $a ndroidSupportVersion "
31- implementation ' com.android.support.constraint:constraint-layout :1.1.3'
57+ implementation ' androidx.appcompat :appcompat:1.0.2 '
58+ implementation ' com.google. android.material:material:1.0.0 '
59+ implementation ' androidx.constraintlayout:constraintlayout :1.1.3'
3260 testImplementation ' junit:junit:4.12'
33- androidTestImplementation ' com.android.support. test:runner:1.0.2 '
34- androidTestImplementation ' com.android.support. test.espresso:espresso-core:3.0.2 '
61+ androidTestImplementation ' androidx. test:runner:1.2.0 '
62+ androidTestImplementation ' androidx. test.espresso:espresso-core:3.2.0 '
3563
3664 implementation ' com.github.hackware1993:MagicIndicator:1.5.0'
3765
38- implementation ' com.jakewharton:butterknife:8.8.1 '
39- annotationProcessor ' com.jakewharton:butterknife-compiler:8.8.1 '
66+ implementation ' com.jakewharton:butterknife:10.1.0 '
67+ annotationProcessor ' com.jakewharton:butterknife-compiler:10.1.0 '
4068
4169 implementation project(' :appbarlayoutbehavior' )
4270
0 commit comments