From 784db780d1423578d4c75312b31737c70ad641e7 Mon Sep 17 00:00:00 2001 From: Hossain Khan Date: Fri, 5 Apr 2019 20:33:30 -0400 Subject: [PATCH] [UPDATE] App version for new release Also updated some library to latest version. --- app/build.gradle | 15 +++++---------- build.gradle | 11 ++++++----- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 7ec5d2e..708bfa0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,13 +1,8 @@ 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 @@ -15,8 +10,8 @@ android { 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()}\"" @@ -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 @@ -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" @@ -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" } diff --git a/build.gradle b/build.gradle index e1620b3..1107c93 100644 --- a/build.gradle +++ b/build.gradle @@ -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 @@ -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 }