From a88dee6c95244ec7d033ae0b6fae786a68ca422b Mon Sep 17 00:00:00 2001 From: Anthony Cicchetti Date: Fri, 3 Aug 2018 23:06:50 -0400 Subject: [PATCH] Updated Android Support Library dependencies --- app/build.gradle | 12 ++++++------ buildSrc/src/main/kotlin/DependencyVersions.kt | 4 ++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index adb9283..313bfa1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,10 +1,10 @@ import com.anthonycicchetti.financetracker.DependencyVersions -apply plugin: 'com.android.application' - -apply plugin: 'kotlin-android' - -apply plugin: 'kotlin-android-extensions' +plugins { + id 'com.android.application' + id 'kotlin-android' + id 'kotlin-android-extensions' +} repositories { google() @@ -45,7 +45,7 @@ dependencies { testImplementation "org.junit.jupiter:junit-jupiter-api:${DependencyVersions.Jupiter}" testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${DependencyVersions.Jupiter}" - implementation 'com.android.support:design:27.1.0' + implementation "com.android.support:design:${DependencyVersions.Android.SupportLibrary}" implementation 'androidx.appcompat:appcompat:1.0.0-beta01' implementation 'androidx.constraintlayout:constraintlayout-solver:1.1.2' implementation 'com.google.android.material:material:1.0.0-beta01' diff --git a/buildSrc/src/main/kotlin/DependencyVersions.kt b/buildSrc/src/main/kotlin/DependencyVersions.kt index 3c7332a..0cc5ff2 100644 --- a/buildSrc/src/main/kotlin/DependencyVersions.kt +++ b/buildSrc/src/main/kotlin/DependencyVersions.kt @@ -9,4 +9,8 @@ object DependencyVersions { object Server { const val Capsule = "1.0.2" } + + object Android { + const val SupportLibrary = "27.1.1" + } }