From eb32d3800210aabc924e21f2d36d4719a60e626f Mon Sep 17 00:00:00 2001 From: acicchetti Date: Sat, 4 Aug 2018 13:17:43 -0400 Subject: [PATCH] Updated some more stuff --- build.gradle | 7 ++++--- buildSrc/src/main/kotlin/DependencyVersions.kt | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index b43feb0..d020545 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,15 @@ +import com.anthonycicchetti.financetracker.DependencyVersions + // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.2.60' repositories { google() jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:3.1.3' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + classpath "com.android.tools.build:gradle:${DependencyVersions.Android.Gradle}" + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${DependencyVersions.Kotlin}" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/buildSrc/src/main/kotlin/DependencyVersions.kt b/buildSrc/src/main/kotlin/DependencyVersions.kt index 0cc5ff2..74e5756 100644 --- a/buildSrc/src/main/kotlin/DependencyVersions.kt +++ b/buildSrc/src/main/kotlin/DependencyVersions.kt @@ -12,5 +12,6 @@ object DependencyVersions { object Android { const val SupportLibrary = "27.1.1" + const val Gradle = "3.1.3" } }