From 9dac004685a4de45afe97e7f0048d819bdedf197 Mon Sep 17 00:00:00 2001 From: Prathamesh More Date: Fri, 10 Jun 2022 18:49:11 +0530 Subject: [PATCH] Update dependencies --- app/build.gradle | 10 +++++----- build.gradle | 12 +++++++++--- themeEngine/build.gradle | 8 ++++---- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 0f3bc70..661350c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -33,9 +33,9 @@ android { dependencies { implementation project(":themeEngine") - implementation 'androidx.core:core-ktx:1.7.0' - implementation 'androidx.appcompat:appcompat:1.4.1' - implementation "androidx.preference:preference-ktx:1.2.0" - implementation 'com.google.android.material:material:1.6.0' - implementation 'androidx.constraintlayout:constraintlayout:2.1.3' + implementation "androidx.core:core-ktx:$core_version" + implementation "androidx.appcompat:appcompat:$appcompat_version" + implementation "androidx.preference:preference-ktx:$preference_version" + implementation "com.google.android.material:material:$mdc_version" + implementation 'androidx.constraintlayout:constraintlayout:2.1.4' } \ No newline at end of file diff --git a/build.gradle b/build.gradle index 86be2c0..701f740 100644 --- a/build.gradle +++ b/build.gradle @@ -1,10 +1,16 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { - id 'com.android.application' version '7.2.0' apply false - id 'com.android.library' version '7.2.0' apply false - id 'org.jetbrains.kotlin.android' version '1.6.21' apply false + id 'com.android.application' version '7.2.1' apply false + id 'com.android.library' version '7.2.1' apply false + id 'org.jetbrains.kotlin.android' version '1.7.0' apply false id 'io.github.gradle-nexus.publish-plugin' version '1.1.0' apply true } +ext { + appcompat_version = '1.4.2' + core_version = '1.8.0' + mdc_version = '1.6.1' + preference_version = '1.2.0' +} apply from: "${rootDir}/scripts/publish-root.gradle" task clean(type: Delete) { diff --git a/themeEngine/build.gradle b/themeEngine/build.gradle index 1c717b7..1bc37db 100644 --- a/themeEngine/build.gradle +++ b/themeEngine/build.gradle @@ -52,8 +52,8 @@ android { } dependencies { - implementation 'androidx.core:core-ktx:1.7.0' - implementation 'androidx.appcompat:appcompat:1.4.1' - implementation "androidx.preference:preference-ktx:1.2.0" - implementation 'com.google.android.material:material:1.6.0' + implementation "androidx.core:core-ktx:$core_version" + implementation "androidx.appcompat:appcompat:$appcompat_version" + implementation "androidx.preference:preference-ktx:$preference_version" + implementation "com.google.android.material:material:$mdc_version" } \ No newline at end of file