Skip to content

Commit

Permalink
build: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ImaginativeShohag committed Aug 21, 2024
1 parent 81b7955 commit 34a249f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 27 deletions.
32 changes: 13 additions & 19 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -127,19 +127,19 @@ android {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'androidx.core:core-ktx:1.13.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'

testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'

// Fragment
implementation "androidx.fragment:fragment-ktx:1.6.2"
implementation "androidx.fragment:fragment-ktx:1.8.2"

// Material Design
implementation 'com.google.android.material:material:1.11.0'
implementation 'com.google.android.material:material:1.12.0'

// Retrofit
implementation 'com.squareup.retrofit2:retrofit:2.11.0'
Expand All @@ -151,7 +151,7 @@ dependencies {
ksp "com.squareup.moshi:moshi-kotlin-codegen:1.15.1"

// Gson
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'com.google.code.gson:gson:2.11.0'

// ViewModel and LiveData
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
Expand All @@ -160,8 +160,8 @@ dependencies {
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_version"

// Kotlin Coroutines
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1-Beta"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1"

// Room Persistence Library
implementation "androidx.room:room-runtime:$room_version"
Expand All @@ -182,7 +182,7 @@ dependencies {
ksp 'com.github.bumptech.glide:ksp:4.16.0'

// Paging
implementation "androidx.paging:paging-runtime-ktx:3.2.1"
implementation "androidx.paging:paging-runtime-ktx:3.3.2"

// Permission
implementation 'com.karumi:dexter:6.2.3'
Expand All @@ -198,17 +198,17 @@ dependencies {
implementation 'com.facebook.shimmer:shimmer:0.5.0'

// Firebase BoM
implementation platform('com.google.firebase:firebase-bom:32.8.1')
implementation platform('com.google.firebase:firebase-bom:33.1.2')

// Firebase Libraries
implementation 'com.google.firebase:firebase-analytics-ktx'
implementation 'com.google.firebase:firebase-messaging-ktx'

// Maps
implementation 'com.google.android.gms:play-services-maps:18.2.0'
implementation 'com.google.android.gms:play-services-maps:19.0.0'

// Location
implementation 'com.google.android.gms:play-services-location:21.2.0'
implementation 'com.google.android.gms:play-services-location:21.3.0'

// Image compressor
implementation 'id.zelory:compressor:3.0.1'
Expand All @@ -223,7 +223,7 @@ dependencies {
implementation 'com.onesignal:OneSignal:4.8.6'

// Coil
implementation("io.coil-kt:coil:2.6.0")
implementation("io.coil-kt:coil:2.7.0")

// Palette
implementation 'androidx.palette:palette-ktx:1.0.0'
Expand All @@ -241,12 +241,6 @@ dependencies {
implementation "ru.noties:jlatexmath-android-font-greek:$jlatexmath_version"
}

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
jvmTarget = "17"
}
}

/**
* Load properties from configuration file.
*/
Expand Down
16 changes: 8 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlin_version = '1.9.23'
lifecycle_version = '2.7.0'
hilt_version = '2.51.1'
kotlin_version = '2.0.10'
lifecycle_version = '2.8.4'
hilt_version = '2.52'
markwon_version = '4.6.2'
jlatexmath_version = '0.2.0'
room_version = '2.6.1'
Expand All @@ -17,13 +17,13 @@ buildscript {
}

plugins {
id 'com.android.application' version '8.4.1' apply false
id 'com.android.library' version '8.4.1' apply false
id 'com.android.application' version '8.4.2' apply false
id 'com.android.library' version '8.4.2' apply false
id 'org.jetbrains.kotlin.android' version "$kotlin_version" apply false
id("com.google.devtools.ksp") version "1.9.23-1.0.20" apply false
id("com.google.devtools.ksp") version "2.0.10-1.0.24" apply false
id 'androidx.navigation.safeargs' version '2.7.7' apply false
id 'com.google.firebase.crashlytics' version '2.9.9' apply false
id 'com.google.gms.google-services' version '4.4.1' apply false
id 'com.google.firebase.crashlytics' version '3.0.2' apply false
id 'com.google.gms.google-services' version '4.4.2' apply false
id 'com.google.dagger.hilt.android' version "$hilt_version" apply false

id "com.diffplug.spotless" version "6.25.0"
Expand Down

0 comments on commit 34a249f

Please sign in to comment.