1
1
apply plugin : ' com.android.application'
2
-
3
2
apply plugin : ' io.fabric'
4
-
5
3
apply plugin : ' kotlin-android'
6
-
7
4
apply 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
11
6
12
7
android {
13
8
compileSdkVersion rootProject. ext. androidCompileSdkVersion
14
9
defaultConfig {
15
10
applicationId " com.hossainkhan.android.constraintlayout"
16
11
minSdkVersion rootProject. ext. androidMinSdkVersion
17
12
targetSdkVersion rootProject. ext. androidTargetSdkVersion
18
- versionCode 4
19
- versionName " 1.2 -constraint-layout-demo"
13
+ versionCode 5
14
+ versionName " 1.3 -constraint-layout-demo"
20
15
versionNameSuffix " -${ gitSha()} "
21
16
22
17
buildConfigField " String" , " GIT_SHA" , " \" ${ gitSha()} \" "
@@ -55,6 +50,7 @@ dependencies {
55
50
56
51
// ViewModel and LiveData
57
52
// https://developer.android.com/topic/libraries/architecture/adding-components
53
+ // https://developer.android.com/jetpack/androidx/releases/lifecycle
58
54
implementation " androidx.lifecycle:lifecycle-extensions:$rootProject . archComponentVersion "
59
55
60
56
// https://developer.chrome.com/multidevice/android/customtabs
@@ -63,7 +59,6 @@ dependencies {
63
59
// ========================================================
64
60
// 3rd party libraries
65
61
// ========================================================
66
- implementation ' androidx.constraintlayout:constraintlayout:1.1.2'
67
62
debugImplementation " com.squareup.leakcanary:leakcanary-android:$rootProject . leakcanaryLibraryVersion "
68
63
releaseImplementation " com.squareup.leakcanary:leakcanary-android-no-op:$rootProject . leakcanaryLibraryVersion "
69
64
@@ -101,7 +96,7 @@ dependencies {
101
96
androidTestImplementation(" androidx.test.espresso:espresso-core:$rootProject . espressoVersion " , {
102
97
exclude group : ' com.android.support' , module : ' support-annotations'
103
98
})
104
- androidTestImplementation ' androidx.test:runner:1.1.0-alpha4 '
99
+ androidTestImplementation ' androidx.test:runner:1.1.1 '
105
100
testImplementation " androidx.arch.core:core-testing:$rootProject . archComponentVersion "
106
101
}
107
102
0 commit comments