From e8d30c648aaef3e584e2859287245b599c6e4bf4 Mon Sep 17 00:00:00 2001 From: remote Date: Thu, 28 Mar 2024 15:14:29 +0530 Subject: [PATCH] change gradle version to 8.3.0 --- app/build.gradle | 28 ++++++++++++------------ build.gradle | 6 ++--- gradle.properties | 2 ++ gradle/wrapper/gradle-wrapper.properties | 2 +- 4 files changed, 20 insertions(+), 18 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index a06f1b3..0cdb833 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -5,12 +5,12 @@ plugins { } android { - compileSdk 33 + compileSdk 34 defaultConfig { applicationId "me.amitshekhar.mvvm" minSdk 21 - targetSdk 33 + versionCode 1 versionName "1.0" @@ -39,23 +39,23 @@ android { dependencies { - implementation 'androidx.core:core-ktx:1.9.0' - implementation 'androidx.appcompat:appcompat:1.5.1' - implementation 'com.google.android.material:material:1.7.0' + implementation 'androidx.core:core-ktx:1.12.0' + implementation 'androidx.appcompat:appcompat:1.6.1' + implementation 'com.google.android.material:material:1.11.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' - implementation "androidx.recyclerview:recyclerview:1.2.1" - implementation 'com.github.bumptech.glide:glide:4.11.0' + implementation "androidx.recyclerview:recyclerview:1.3.2" + implementation 'com.github.bumptech.glide:glide:4.16.0' implementation 'com.squareup.retrofit2:retrofit:2.9.0' implementation 'com.squareup.retrofit2:converter-gson:2.9.0' implementation 'android.arch.lifecycle:extensions:1.1.1' - implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1' - implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1' - implementation "com.google.dagger:dagger:2.42" - kapt "com.google.dagger:dagger-compiler:2.42" - implementation 'androidx.browser:browser:1.4.0' + implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0' + implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.7.0' + implementation "com.google.dagger:dagger:2.49" + kapt "com.google.dagger:dagger-compiler:2.49" + implementation 'androidx.browser:browser:1.8.0' testImplementation 'junit:junit:4.13.2' - androidTestImplementation 'androidx.test.ext:junit:1.1.4' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0' + androidTestImplementation 'androidx.test.ext:junit:1.1.5' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' } \ No newline at end of file diff --git a/build.gradle b/build.gradle index d4bb098..12192c9 100644 --- a/build.gradle +++ b/build.gradle @@ -1,8 +1,8 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { - id 'com.android.application' version '7.3.1' apply false - id 'com.android.library' version '7.3.1' apply false - id 'org.jetbrains.kotlin.android' version '1.6.10' apply false + id 'com.android.application' version '8.3.0' apply false + id 'com.android.library' version '8.3.0' apply false + id 'org.jetbrains.kotlin.android' version '1.9.10' apply false } task clean(type: Delete) { diff --git a/gradle.properties b/gradle.properties index 708127a..fe92743 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,3 +16,5 @@ kotlin.code.style=official org.gradle.jvmargs=-Xmx2048m -Dfile.encoding\=UTF-8 android.useAndroidX=true android.enableJetifier=true +android.defaults.buildfeatures.buildconfig=true +android.nonFinalResIds=false diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 872a88a..467feee 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Tue Sep 27 09:55:28 IST 2022 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME