11apply plugin : ' com.android.application'
2-
32apply plugin : ' io.fabric'
4-
53apply plugin : ' kotlin-android'
6-
74apply plugin : ' kotlin-android-extensions'
8-
9- // https://kotlinlang.org/docs/reference/kapt.html
10- apply plugin : ' kotlin-kapt'
5+ apply plugin : ' kotlin-kapt' // https://kotlinlang.org/docs/reference/kapt.html
116
127android {
138 compileSdkVersion rootProject. ext. androidCompileSdkVersion
149 defaultConfig {
1510 applicationId " com.hossainkhan.android.constraintlayout"
1611 minSdkVersion rootProject. ext. androidMinSdkVersion
1712 targetSdkVersion rootProject. ext. androidTargetSdkVersion
18- versionCode 4
19- versionName " 1.2 -constraint-layout-demo"
13+ versionCode 5
14+ versionName " 1.3 -constraint-layout-demo"
2015 versionNameSuffix " -${ gitSha()} "
2116
2217 buildConfigField " String" , " GIT_SHA" , " \" ${ gitSha()} \" "
@@ -55,6 +50,7 @@ dependencies {
5550
5651 // ViewModel and LiveData
5752 // https://developer.android.com/topic/libraries/architecture/adding-components
53+ // https://developer.android.com/jetpack/androidx/releases/lifecycle
5854 implementation " androidx.lifecycle:lifecycle-extensions:$rootProject . archComponentVersion "
5955
6056 // https://developer.chrome.com/multidevice/android/customtabs
@@ -63,7 +59,6 @@ dependencies {
6359 // ========================================================
6460 // 3rd party libraries
6561 // ========================================================
66- implementation ' androidx.constraintlayout:constraintlayout:1.1.2'
6762 debugImplementation " com.squareup.leakcanary:leakcanary-android:$rootProject . leakcanaryLibraryVersion "
6863 releaseImplementation " com.squareup.leakcanary:leakcanary-android-no-op:$rootProject . leakcanaryLibraryVersion "
6964
@@ -101,7 +96,7 @@ dependencies {
10196 androidTestImplementation(" androidx.test.espresso:espresso-core:$rootProject . espressoVersion " , {
10297 exclude group : ' com.android.support' , module : ' support-annotations'
10398 })
104- androidTestImplementation ' androidx.test:runner:1.1.0-alpha4 '
99+ androidTestImplementation ' androidx.test:runner:1.1.1 '
105100 testImplementation " androidx.arch.core:core-testing:$rootProject . archComponentVersion "
106101}
107102
0 commit comments