From d7d8a580b0497f71fb041cee835c63d88743e8de Mon Sep 17 00:00:00 2001 From: Claus Holst Date: Sun, 12 Apr 2020 18:39:12 +0200 Subject: [PATCH] Move plugin versions to dependencies.gradle to avoid having kotlin version in two places. (#149) Kotlin 1.3.71 AGP 4.0.0-beta04 Coroutines 1.3.5 Retrofit 2.8.1 OkHttp 4.5.0 Fragment 1.2.4 Room 2.2.5 --- build.gradle | 11 +---------- buildsystem/dependencies.gradle | 21 +++++++++++++++------ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/build.gradle b/build.gradle index 8082193..7158620 100644 --- a/build.gradle +++ b/build.gradle @@ -6,16 +6,7 @@ buildscript { jcenter() } - ext.versions = [ - androidGradlePlugin : '4.0.0-beta03', - kotlin : '1.3.70', - dokkaGradlePlugin : '0.10.0', - ktlintGradle : '9.1.1', - spotlessGradlePlugin : '3.26.1', - jacocoGradlePlugin : '0.8.5', - binaryCompatibilityValidator: '0.2.1', - atomicFuPlugin : '0.14.2', - ] + apply from: 'buildsystem/dependencies.gradle' dependencies { classpath "com.android.tools.build:gradle:${versions.androidGradlePlugin}" diff --git a/buildsystem/dependencies.gradle b/buildsystem/dependencies.gradle index 1a6bc89..a7e0273 100644 --- a/buildsystem/dependencies.gradle +++ b/buildsystem/dependencies.gradle @@ -3,24 +3,33 @@ ext.versions = [ targetSdk : 29, compileSdk : 29, buildTools : '29.0.3', - kotlin : '1.3.70', + kotlin : '1.3.71', ktlint : '0.36.0', + // Plugins + androidGradlePlugin : '4.0.0-beta04', + dokkaGradlePlugin : '0.10.0', + ktlintGradle : '9.1.1', + spotlessGradlePlugin : '3.26.1', + jacocoGradlePlugin : '0.8.5', + binaryCompatibilityValidator: '0.2.1', + atomicFuPlugin : '0.14.2', + // UI libs. picasso : '2.5.2', // Others. - coroutines : '1.3.4', - retrofit : '2.7.2', - okHttp : '4.4.0', + coroutines : '1.3.5', + retrofit : '2.8.1', + okHttp : '4.5.0', okio : '2.4.3', moshi : '1.9.2', appCompat : '1.1.0', - fragment : '1.2.2', + fragment : '1.2.4', recyclerView : '1.1.0', swipeRefreshLayout: '1.0.0', material : '1.1.0', - room : '2.2.4', + room : '2.2.5', coreKtx : '1.2.0', lifecycle : '2.2.0', navigation : '2.2.1',