Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

[UPDATE] App version for new release #71

Merged
merged 2 commits into from
Apr 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
apply plugin: 'com.android.application'

apply plugin: 'io.fabric'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-android-extensions'

// https://kotlinlang.org/docs/reference/kapt.html
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-kapt' // https://kotlinlang.org/docs/reference/kapt.html

android {
compileSdkVersion rootProject.ext.androidCompileSdkVersion
defaultConfig {
applicationId "com.hossainkhan.android.constraintlayout"
minSdkVersion rootProject.ext.androidMinSdkVersion
targetSdkVersion rootProject.ext.androidTargetSdkVersion
versionCode 4
versionName "1.2-constraint-layout-demo"
versionCode 5
versionName "1.3-constraint-layout-demo"
versionNameSuffix "-${gitSha()}"

buildConfigField "String", "GIT_SHA", "\"${gitSha()}\""
Expand Down Expand Up @@ -55,6 +50,7 @@ dependencies {

// ViewModel and LiveData
// https://developer.android.com/topic/libraries/architecture/adding-components
// https://developer.android.com/jetpack/androidx/releases/lifecycle
implementation "androidx.lifecycle:lifecycle-extensions:$rootProject.archComponentVersion"

// https://developer.chrome.com/multidevice/android/customtabs
Expand All @@ -63,7 +59,6 @@ dependencies {
// ========================================================
// 3rd party libraries
// ========================================================
implementation 'androidx.constraintlayout:constraintlayout:1.1.2'
debugImplementation "com.squareup.leakcanary:leakcanary-android:$rootProject.leakcanaryLibraryVersion"
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$rootProject.leakcanaryLibraryVersion"

Expand Down Expand Up @@ -101,7 +96,7 @@ dependencies {
androidTestImplementation("androidx.test.espresso:espresso-core:$rootProject.espressoVersion", {
exclude group: 'com.android.support', module: 'support-annotations'
})
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
androidTestImplementation 'androidx.test:runner:1.1.1'
testImplementation "androidx.arch.core:core-testing:$rootProject.archComponentVersion"
}

Expand Down
11 changes: 6 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,12 @@ ext {
// Google Products & Support library dependencies
// --------------------------------------------------
// https://developer.android.com/topic/libraries/support-library/revisions.html
supportLibraryVersion = '1.0.0-beta01'
supportLibraryVersion = '1.0.0'
// https://developer.android.com/reference/android/support/constraint/ConstraintLayout
constraintLayoutVersion = '1.1.2'
constraintLayoutVersion = '1.1.3'
// https://developer.android.com/topic/libraries/architecture/adding-components
archComponentVersion = '2.0.0-beta01'
// https://developer.android.com/jetpack/androidx/releases/lifecycle
archComponentVersion = '2.0.0'
// https://firebase.google.com/docs/android/setup
firebaseVersion = '15.0.2'
// https://firebase.google.com/docs/crashlytics/get-started
Expand All @@ -104,8 +105,8 @@ ext {
// 3rd party library dependencies
// --------------------------------------------------
daggerVersion = '2.15' // https://github.com/google/dagger
timberLibraryVersion = '4.7.0' // https://github.com/JakeWharton/timber
leakcanaryLibraryVersion = '1.5.4' // https://github.com/square/leakcanary/releases
timberLibraryVersion = '4.7.1' // https://github.com/JakeWharton/timber
leakcanaryLibraryVersion = '1.6.3' // https://github.com/square/leakcanary/releases
flashBarVersion = '1.0.2' // https://github.com/aritraroy/Flashbar/releases
}

Expand Down